How it works
An OAuth flow involves the following parties:- Resource owner: your customer, who grants you access to their account resources.
- Resource server: Adyen’s APIs, through which you access your customer’s account resources.
- Client: your application which requests access to resources on behalf of your customer.
- Authorization Server: Adyen’s OAuth server, where your customer authenticates to grant you access. This server is also responsible for issuing the access tokens.
- Your customer selects the Connect with Adyen button in your application.
- You redirect your customer to Adyen where they authenticate and authorize your request to access their resources.
- Your customer is redirected back to your application with an authorization code.
- You exchange the authorization code for access and refresh tokens.
- When you make requests to Adyen’s APIs on behalf of your customer, you authorize using the access token.
- When your access token expires, you get a new one using the refresh token.
Next steps
To start building your OAuth integration, select our integration guide below:OAuth integration
Integrate with our OAuth service to make API request on your customer’s behalf.