Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a1d981f1
Commit
a1d981f1
authored
Dec 21, 2019
by
Eirik Lygre
Committed by
Rémy Coutable
Nov 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a label to the Azure OAuth integration example
Changelog: other Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
7174cbff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
doc/integration/azure.md
doc/integration/azure.md
+10
-6
No files found.
doc/integration/azure.md
View file @
a1d981f1
...
...
@@ -59,6 +59,7 @@ As you go through the Microsoft procedure, keep the following in mind:
gitlab_rails
[
'omniauth_providers'
]
=
[
{
"name"
=>
"azure_oauth2"
,
# "label" => "Provider name", # optional label for login button, defaults to "Azure AD"
"args"
=>
{
"client_id"
=>
"CLIENT ID"
,
"client_secret"
=>
"CLIENT SECRET"
,
...
...
@@ -72,9 +73,10 @@ As you go through the Microsoft procedure, keep the following in mind:
```
yaml
-
{
name
:
'
azure_oauth2'
,
args
:
{
client_id
:
"
CLIENT
ID"
,
client_secret
:
"
CLIENT
SECRET"
,
tenant_id
:
"
TENANT
ID"
}
}
# label: 'Provider name', # optional label for login button, defaults to "Azure AD"
args
:
{
client_id
:
"
CLIENT
ID"
,
client_secret
:
"
CLIENT
SECRET"
,
tenant_id
:
"
TENANT
ID"
}
}
```
The
`base_azure_url`
is optional and can be added for different locales;
...
...
@@ -167,6 +169,7 @@ Alternatively, add the `User.Read.All` application permission.
gitlab_rails
[
'omniauth_providers'
]
=
[
{
"name"
=>
"azure_activedirectory_v2"
,
"label"
=>
"Provider name"
,
# optional label for login button, defaults to "Azure AD v2"
"args"
=>
{
"client_id"
=>
"CLIENT ID"
,
"client_secret"
=>
"CLIENT SECRET"
,
...
...
@@ -180,9 +183,10 @@ Alternatively, add the `User.Read.All` application permission.
```
yaml
-
{
name
:
'
azure_activedirectory_v2'
,
args
:
{
client_id
:
"
CLIENT
ID"
,
client_secret
:
"
CLIENT
SECRET"
,
tenant_id
:
"
TENANT
ID"
}
}
label
:
'
Provider
name'
,
# optional label for login button, defaults to "Azure AD v2"
args
:
{
client_id
:
"
CLIENT
ID"
,
client_secret
:
"
CLIENT
SECRET"
,
tenant_id
:
"
TENANT
ID"
}
}
```
The
`base_azure_url`
is optional and can be added for different locales;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment