1.3.2.7 Microsoft auth
A Concourse server can authenticate against Microsoft Azure AD to leverage its permission model.
Authentication
You'll need to register a new application on Azure.
The "Callback URL" must be the URL of your Concourse server with /sky/issuer/callback
appended. This address must be reachable by Microsoft - it can't be localhost
.
For example, Concourse's own CI server's callback URL would be:
https://ci.concourse-ci.org/sky/issuer/callback
You will be given a Client ID and a Client Secret for your new application. The client ID and secret must then be configured on the web
node by setting the following env:
CONCOURSE_MICROSOFT_CLIENT_ID=myclientid
CONCOURSE_MICROSOFT_CLIENT_SECRET=myclientsecret
Consult concourse web --help
for a full list of flags with descriptions.
Authorization
Groups can be authorized for a team by passing the following flags to fly set-team
:
--microsoft-group=GROUP_NAME
Authorize an entire group's members.
For example:
$ fly set-team -n my-team \
--microsoft-group my-group
...or via --config
for setting user roles:
roles:
- name: member
microsoft:
groups: ["my-groups"]