Initiating OAuth access is the first step for integrating a user's Rhythm account. In order to initiate OAuth access for your Rhythm App, you'll first need to send a Rhythm user to an authorization page, where that user will need to grant access to your app. When your app sends a user to that authorization page, you'll use the query parameters detailed below to identify your app.
Users must be signed into Rhythm to grant access, so any user that is not logged into Rhythm will be directed to a login screen before being directed back to the authorization page. The authorization screen will show the details for your app, and the permissions being requested.
After the user grants access, they will be redirected to the
redirect_uri if you specified one, with a code query parameter appended to the URL. You'll use that code to get an access token from Rhythm.
- Client ID: client_id=x Used in the URL
The Client ID from your API Client.
- Redirect URI: redirect_uri=x Used in the URL
The URL that you want the visitor redirected to after granting access to your app. Please Note: For security reasons, this URL must use https in production. If you did not supply a redirect_uri in the query parameters, the user will be redirected to a page showing the code to use to obtain the first authorization token.
Next Step -> Get OAuth 2.0 Access Token and Refresh Tokens