OAuth 2 Grant Type Authorization Code Link
Example
This is how a authorization code link look like:
https://cloud.digitalocean.com/v1/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=CALLBACK_URL&scope=readAPI authorization endpoint
https://cloud.digitalocean.com/v1/oauth/authorizeResponse type
This specifies that your application is requesting an authorization code grant
response_type=codeClient ID
This is the application’s client ID (how the API identifies the application)
client_id=client_idRedirect URL
This specifies where the service redirects the user-agent after an authorization code is granted
redirect_uri=CALLBACK_URLScope
This specifies the level of access that the application is requesting
scope=read