Commit 304447bc authored by John McGehee's avatar John McGehee Committed by Mike Jang

Add additional useful parameters to Cognito configuration doc

parent 71030f46
...@@ -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