Commit 597299d4 authored by Mike Jang's avatar Mike Jang

Merge branch 'master' into 'master'

Add additional useful parameters to Cognito configuration doc

See merge request gitlab-org/gitlab!34229
parents 20e49234 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).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment