OAuth APIs

(Difference between revisions)
Jump to: navigation, search
(Created page with "Some Social-ID NOW APIs require OAuth 2.0 authentication instead of HTTP Basic. In order to access them one needs first to request an access token through the '''token''' end...")
 
Line 18: Line 18:
 
| [[POST /oauth/token_provider_credentials | POST /oauth/token]]
 
| [[POST /oauth/token_provider_credentials | POST /oauth/token]]
 
| provider_credentials
 
| provider_credentials
| Generates a new user access token given an access token issued by an external provider.
+
| Generates a new user access token given an oauth token issued by an external provider.
 
|-
 
|-
 
| [[POST /oauth/token_client_credentials | POST /oauth/token]]
 
| [[POST /oauth/token_client_credentials | POST /oauth/token]]

Revision as of 17:53, 3 August 2015

Some Social-ID NOW APIs require OAuth 2.0 authentication instead of HTTP Basic.

In order to access them one needs first to request an access token through the token endpoint. Each access token has its own scope and allows a certain set of APIs.

Please, refer to https://tools.ietf.org/html/rfc6749 if you are not familiar with the OAuth 2.0 protocol.

Token Endpoint

Resource Grant Type Description
POST /oauth/token password Generates a new user access token given a combination of username/email_address and password.
POST /oauth/token provider_credentials Generates a new user access token given an oauth token issued by an external provider.
POST /oauth/token client_credentials Generates a new app access token.
POST /oauth/token refresh_token Refreshes an access token, generating a new one.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox