API endpoints that enable you to create and employ such things as authorization codes, access tokens, and verification codes. You can also use this API to register users with or log users on to a website or application, (using either traditional registration/logon or social registration/logon). Note that these are not the authorization endpoints used with Hosted Login. For those endpoints, see the OAuth and OIDC API Reference.
In addition to reference information for each endpoint, this section of the documentation also includes the following two articles:
Access Tokens and Code
Endpoint | Methods |
---|---|
Get an Authorization Code/access/getAuthorizationCodeReturn an authorization code for the specified user. The authorization code can then be exchanged for an access token. |
|
Get an Access Token/access/getAccessTokenReturn an access token for the specified user. |
|
Exchange an Authorization Code or a Refresh Token for an Access Token/oauth/tokenReturn an access token for the specified user. |
|
Complete Social Registration/oauth/register_nativeCreate an account that uses a social login identity (e.g., a Facebook or Twitter account) for authentication. |
|
Complete Traditional Registration/oauth/register_native_traditionalCreate an account that uses an email address and password for authentication. |
|
Complete Social Login/oauth/auth_nativeComplete a social login (that is, logging on by using an account from a social login provider such as Facebook or Twitter). |
|
Complete Traditional Login/oauth/auth_native_traditionalComplete a traditional login (i.e., a login that relies on an email address and password). |
|
User Profiles
Endpoint | Methods |
---|---|
Update a User Profile/oauth/update_profile_nativeUpdate the specified user profile. |
|
Get a Verification Code/access/getVerificationCodeReturn a verification code for the specified user. Verification codes are used with the useVerificationCode endpoint to verify an email address. |
|
Use a Verification Code/access/useVerificationCodeUse a verification code (obtained by using the getVerificationCode endpoint) to verify an email address. |
|
Verify an Email Address/oauth/verify_email_nativeSend a "please verify your email address" link to a user. |
|
Request a Reset Password Link/oauth/forgot_password_nativeSend a reset password link to the specified user. |
|
Link a Social Identity to a User Profile/oauth/link_account_nativeLink a new social identity to an existing user account, |
|
Unlink a Social Provider for a User Profile/oauth/unlink_account_nativeRemove a social identity from an existing user account |
|