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
304447bc
Commit
304447bc
authored
Jun 15, 2020
by
John McGehee
Committed by
Mike Jang
Jun 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add additional useful parameters to Cognito configuration doc
parent
71030f46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
doc/administration/auth/cognito.md
doc/administration/auth/cognito.md
+4
-0
No files found.
doc/administration/auth/cognito.md
View file @
304447bc
...
@@ -58,6 +58,8 @@ Include the code block in the `/etc/gitlab/gitlab.rb` file:
...
@@ -58,6 +58,8 @@ Include the code block in the `/etc/gitlab/gitlab.rb` file:
gitlab_rails
[
'omniauth_providers'
]
=
[
gitlab_rails
[
'omniauth_providers'
]
=
[
{
{
"name"
=>
"cognito"
,
"name"
=>
"cognito"
,
# "label" => "Cognito",
# "icon" => nil, # Optional icon URL
"app_id"
=>
"CLIENT ID"
,
"app_id"
=>
"CLIENT ID"
,
"app_secret"
=>
"CLIENT SECRET"
,
"app_secret"
=>
"CLIENT SECRET"
,
"args"
=>
{
"args"
=>
{
...
@@ -86,3 +88,5 @@ Include the code block in the `/etc/gitlab/gitlab.rb` file:
...
@@ -86,3 +88,5 @@ Include the code block in the `/etc/gitlab/gitlab.rb` file:
Your sign-in page should now display a Cognito button below the regular sign-in form.
Your sign-in page should now display a Cognito button below the regular sign-in form.
To begin the authentication process, click the icon, and AWS Cognito will ask the user to sign in and authorize the GitLab application.
To begin the authentication process, click the icon, and AWS Cognito will ask the user to sign in and authorize the GitLab application.
If successful, the user will be redirected and signed in to your GitLab instance.
If successful, the user will be redirected and signed in to your GitLab instance.
For more information, see the
[
Initial OmniAuth Configuration
](
../../integration/omniauth.md#initial-omniauth-configuration
)
.
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