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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
b2ae3fdb
Commit
b2ae3fdb
authored
Sep 08, 2019
by
Blair Lunceford
Committed by
Evan Read
Sep 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add auto_sign_in_with_provider info to OmniAuth doc
parent
2c413522
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
doc/integration/omniauth.md
doc/integration/omniauth.md
+30
-0
No files found.
doc/integration/omniauth.md
View file @
b2ae3fdb
...
...
@@ -298,3 +298,33 @@ gitlab_rails['omniauth_allow_bypass_two_factor'] = ['twitter', 'google_oauth2']
omniauth
:
allow_bypass_two_factor
:
[
'
twitter'
,
'
google_oauth2'
]
```
## Automatically sign in with provider
You can add the
`auto_sign_in_with_provider`
setting to your
GitLab configuration to automatically redirect login requests
to your OmniAuth provider for authentication, thus removing the need to click a button
before actually signing in.
For example, when using the Azure integration, you would set the following
to enable auto sign in.
For Omnibus package:
```
ruby
gitlab_rails
[
'omniauth_auto_sign_in_with_provider'
]
=
'azure_oauth2'
```
For installations from source:
```
yaml
omniauth
:
auto_sign_in_with_provider
:
azure_oauth2
```
Please keep in mind that every sign in attempt will be redirected to the OmniAuth provider,
so you will not be able to sign in using local credentials. Make sure that at least one
of the OmniAuth users has admin permissions.
You may also bypass the auto signin feature by browsing to
`https://gitlab.example.com/users/sign_in?auto_sign_in=false`
.
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