Skip to main content

Configure an Azure Application for CodeTogether Authorization

This guide walks you through the creation of an SSO application in Microsoft Azure. You specify CodeTogether URLs to configure the application, and pick up endpoint URLs and values to plug back into your CodeTogether container configuration.

1. Create a New App

Open the Azure Portal and navigate to App registrations. Click New registration to create a new app.

Create Azure App

Enter a suitable name for the application. In the Redirect URI section, select Web as the platform, and specify the login redirect URI as described in the configuration section - CT_SERVER_URL/sso/authorization-code/callback. Then click Register to complete creation of the application.

Register New Azure App

2. Configure the App

On the Certificates & secrets page, click New client secret, give it a name and click Add. Copy the value of the created Client Secret for use in the CodeTogether configuration.

Add Client Secret Copy Client Secret

On the Authentication page, specify the logout redirect URI as described in the configuration section - CT_SERVER_URL/sso/logout. Also ensure ID tokens is selected for implicit and hybrid flows. Click Save.

Specify logout URL

On the Overview page, copy the Application ID value - this is the Client ID you will need to specify in the CodeTogether configuration. Also observe the Directory (tenant) ID. The SSO System Base URL is typically<tenant ID>/v2.0. Use MICROSOFT as the SSO Provider value.

Copy Application ID