Microsoft Auth - Anyone will to share working examples? #6933
-
Hi there I'm trying to get concourse (6.7.2) to auth to an Azure AD, I've tried following the setup guide on this page https://concourse-ci.org/microsoft-auth.html The page implies that you only need to properties
but I'll get an error saying that common apps are no longer valid (for apps created after 2018)
I've tried changing that to be my directory id but that then errors with an error no reply address provided. Does anyone have any other suggestions or advice? If I get it working I'll do a PR on the docs site just to pay it forward. Thank you Gary |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a note to myself or anyone else that happens to come across this issue, I managed to get this working. Register the concourse app within the Azure portal within the
The callback URL needs to be resolvable for your browser, it won't need to connect directly to your instance. |
Beta Was this translation helpful? Give feedback.
This is a note to myself or anyone else that happens to come across this issue, I managed to get this working.
Register the concourse app within the Azure portal within the
App registrations
sectionYour callback url to your instance needs to go into the "web /redirect URIs" section
You will need to generate a client secret, do this in the
Certificates & secrets" section, create a new
client secrets`, remember to add a remind to your calendar for what you configure the expiry to be :)CONCOURSE_MICROSOFT_CLIENT_ID
==Application (client) ID
from the summary page of your app registrationCONCOURSE_MICROSOFT_CLIENT_SECRET
== theValue
of the secret you createdCONCOURSE_MICROSOFT_TENANT
==