Authentication
Authentication with OAuth2 Authorization Framework.
Last updated
Authentication with OAuth2 Authorization Framework.
Last updated
OAuth 2.0 is an authorization framework enabling applications to access user data without the user having to share their password. It works by having the user authorize the application to access their data on a third-party server, such as Google or Facebook. The application is then given an access token that it can use to access the user's data.
To interact with the One Record API, clients, typically applications rather than individual users, need to authenticate first.
For authenticating an application, it must send a POST request to the route
The request body must be encoded in x-www-form-urlencoded
format and include the following parameters:
client_id
: Identifies the client application.
client_secret
: Secret key associated with the client application.
grant_type
: Must be set to client_credentials
to indicate the type of grant being requested. This information is securely sent over HTTPS.
Access Token