Adds an OAuth2 identity to the user, so that they can be logged in with that identity. You need to send the OAuth code or the access token to this endpoint.
https://oauth.provider/user?t=<%= accessToken %>
) with the access token
(1234). The lookup URL returns { id: 'abcd' }
in this case, which we save to
the user in our db.Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The document's _id
or slug
.
The affected user
Subset of properties listed here