Configure OAuth2
Overview
If you want to provide access to third party application, you can configure Sitefinity to use the OAuth 2.0 protocol. Sitefinity CMS supports Authorization Code, Implicit, and Resource Owner Password Credentials flows. For machine to machine communication instead of client credentials flow you can use Access Keys. For more information, see Generate access key.
Procedure
To configure OAuth2.0:
- Navigate to Settings » Advanced » Authentication » OAuth Server.
- Expand it and click AuthorizedClients.
- Click Create new.
- Fill out the ClientId and Secret fields.
- Click Save changes.
- Expand the client you just created and provide a value for the RedirectUrls.
- Click Save changes.
NOTE: For implicit flow you need only a ClientId, but for the authorization code and resource owner password credentials flows you also need to provide a Secret.
For a sample implementation, see Request access token to call a web service with OAuth2.