Configure Oauth2

Overview

If you want to provide access to third party application, you can configure Sitefinity CMS to use the OAuth 2.0 protocol. Sitefinity CMS supports Authorization Code, Implicit, and Resource Owner Password Credentials flows. 

For machine to machine communication, see Generate access key

Procedure

PREREQUISITES: In order to configure  OAuth 2.0, you must use the Default authentication protocol.

To configure OAuth2.0:

  1. Navigate to Settings » Advanced » Authentication » OAuth Server.
  2. Expand it and click AuthorizedClients.
  3. Click Create new.
  4. Fill out the ClientId and Secret fields.
  5. Click Save changes.
  6. Expand the client you just created and provide a value for the RedirectUrls.
  7. 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.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Custom authentication