Go to the home page of the Sitevision help website

Add OAuth2 configuration

Add Oauth2 confoguration

General

Name

Enter a name for your login.

Identifier

Here you enter a UNIQUE identifier with only characters a-z, 0-9, _ and -

Description

Here you fill in a description about each Oauth2 configuration, e.g. what it will be used for, who/what uses it, etc.

Authentication provider

Select the login service you want to connect to. Several predefined login services are available. You can also select Generic if you are using a different login service.

Once you have selected a login service, the required configuration fields are displayed. Most services require the following:

  • Client ID from the underlying system.
  • Client secret from the underlying system.

Microsoft Entra ID

For Microsoft Entra ID, you can choose to authenticate using a certificate and a private key. With this authentication method, no client secret is required.

  • Select a private key and a certificate that have been uploaded to the Sitevision file archive.
  • Enter the password for the private key.
  • Upload the certificate to the Azure portal as well.
  • Click Run key and certificate test to verify that the private key and certificate work together.
OBS! MERK! NB!

Den privata nyckeln måste vara nedladdningsskyddad för att kunna användas i OAuth2-konfigurationen. Du aktiverar nedladdningsskydd genom att högerklicka på filen i filarkivet och välja Egenskaper.

Google

Instagram

Generic

  • Issuer: Specifies the address of the login service.
  • Authorization endpoint URL: Obtain this URL from your login service.
  • Token endpoint URL: Obtain this URL from your login service.
  • Client authorization method: Specifies how Sitevision authenticates itself when communicating with the login service. The default method is client_secret_basic. Some login services only support client_secret_post. For non-confidential OAuth2 applications without a client secret, select none.
Scopes

Scopes

Scopes are the permissions that will be requested by the user at login. The permissions are different for different resource servers.

Example of scopes for the Microsoft Graph API. When the scopes below are requested for a user, the user will have to authorize the OAuth2-App to read the user's files and to read and write in the user's calendars.

  • Files.Read
  • Calendars.ReadWrite

Default scopes

Default scopes are specified for cases where an Extension requests permissions for a user. These scopes will always be requested at login. The individual extension also has the option to request additional scopes.

Here it is a good idea to add the scopes to be requested by all users

OBS! MERK! NB!

Avoid scopes that require admin permissions on the resource server. If such scopes are sent, only administrators can log in

Click on the Add scope link to add a scope.

Application scopes

Specifies all scopes to be requested when an extension makes a call as an OAuth2 App. The extension has no option to add more scopes.

Click the Add scope link to add a scope.

The page published:

Did the information help you?

help.sitevision.se always refers to the latest version of Sitevision

Follow us