Plugin OAuth server setup
For OAuth, you’ll need to support 4 endpoints:- Getting an authorization code grant
- Requesting an access token using an authorization code
- Requesting an access token using a refresh token
- Revoking an access token
A diagram for this flow for apps that only require Plugin OAuth authentication can be found below. For guidance on apps that also require API authentication, also check out the app authentication guide here..