Configuring SSO / Azure AD

Azure AD OAuth2 is one of the more common SSO solutions with Silverbucket. Start by heading to the admin-panel in Silverbucket, choose "System Settings" and click the 'Setup' button next to AzureAD.

image.png 88.3 KB


As you click 'Setup' a new view opens which has five different fields for editing:

Fields explained below



Every single one of these fields are found in https://portal.azure.com/ after you have created an Application in the portal. While creating the application we advise you to stay on the Silverbucket's SSO page as well - these two go hand-in-hand when setting up your SSO solution.


Creating an application in portal.azure.com


1) Log into portal.azure.com
2) Open the sidebar located left of the screen and choose 'Azure Active Directory'
The sidebar might look different depending on your account and rights

3) Choose 'Enterprise Applications' from the sidebar

The sidebar might look different depending on your account and rights


4) Choose '+ New Application' to create a new Application in Azure

image.png 168.14 KB


5) In the opening window choose the option 'Application you are developing'

image.png 82.26 KB

6) Choose '+ New registration'

image.png 23.13 KB


7a) Fill in the name for your Application
7b) Choose the supported account types
7c) Copy the 'Redirect URL' from Silverbucket's SSO setup, change the underscore into a normal dash (-) and insert it in the opening window as the Application's 'Redirect URI'

Make sure to change the underscore into a normal dash!


image.png 174.22 KB
Complete the action by clicking 'Register' in Azure's portal, located bottom-left.

Your application is now created in Azure's portal - now we need to link that application as your SSO solution with Silverbucket.



Linking the application with Silverbucket


There are 5 fields that need to be configured in Silverbucket with the data found in Azure's Portal.

Token Endpoint & Authorization Token URL


( - Click 'Azure Active Directory' from the left sidebar)
- Choose 'App Registrations'
- Select your newly created Application by clicking it
- Open the 'Endpoints' tab

image.png 68.33 KB


In the upcoming window you can find the values for Silverbucket's corresponding fields; Token Endpoint & Authorization Token URL:

Note that the "Token Endpoint" and "Authorization Token URL" are in reverse order in Silverbucket!



Application (client) ID


( - Click 'Azure Active Directory' from the left sidebar)
- Choose 'App Registrations'
- Select your newly created Application by clicking it
- Copy the 'Application (client) ID' as Silverbucket's 'Application (client) ID'

image.png 109.94 KB


Authorization Secret 


( - Click 'Azure Active Directory' from the left sidebar)
- Choose 'App Registrations'
- Select your newly created Application by clicking it
- Choose the 'Sertificates & secrets' from the left sidebar

image.png 153.61 KB


- Click on the 'New client secret'. Fill in the details:

When the secret is created make sure you stay on the page or copy it to your clipboard straight away


Make sure you copy the secret value to clipboar. Right after, fill in the Secret Key's value as Silverbucket's 'Authorization Secret' field


Save the changes in Silverbucket, log out of the system and test if you can log into Silverbucket by using the 'Log in using organizational account'

You should be forwarded into Microsoft's credentials page which - if credentials are entered correctly - allows you to log into your Silverbucket environment.

image.png 39.56 KB


If your login results in an error message please do check that the setup was done correctly and your credentials were correct. If not, please do refer to the Microsoft's article regarding OAuth 2.0 for example.



Optional settings



- Allowed domains in Silverbucket is an optional field

- You can use the 'User assignment' option in Azure's portal for your application if you wish to separately allow certain people to use the SSO. This can be done in the 'Enterprise Applications' > Silverbucket > Add user.
image.png 89.12 KB
How did we do with this article?