Commit 410c8024 authored by Robert Schilling's avatar Robert Schilling

Merge pull request #8938 from kcyeu/master

Fix invalid config examples in OmniAuth docs
parents 8b551ee3 fc64b3f7
...@@ -53,7 +53,7 @@ GitHub will generate an application ID and secret key for you to use. ...@@ -53,7 +53,7 @@ GitHub will generate an application ID and secret key for you to use.
"app_id" => "YOUR_APP_ID", "app_id" => "YOUR_APP_ID",
"app_secret" => "YOUR_APP_SECRET", "app_secret" => "YOUR_APP_SECRET",
"url" => "https://github.com/", "url" => "https://github.com/",
"args" => { "scope" => "user:email" } } "args" => { "scope" => "user:email" }
} }
] ]
``` ```
......
...@@ -58,7 +58,7 @@ GitLab.com will generate an application ID and secret key for you to use. ...@@ -58,7 +58,7 @@ GitLab.com will generate an application ID and secret key for you to use.
"name" => "gitlab", "name" => "gitlab",
"app_id" => "YOUR_APP_ID", "app_id" => "YOUR_APP_ID",
"app_secret" => "YOUR_APP_SECRET", "app_secret" => "YOUR_APP_SECRET",
"args" => { "scope" => "api" } } "args" => { "scope" => "api" }
} }
] ]
``` ```
......
...@@ -55,7 +55,7 @@ To enable the Google OAuth2 OmniAuth provider you must register your application ...@@ -55,7 +55,7 @@ To enable the Google OAuth2 OmniAuth provider you must register your application
"name" => "google_oauth2", "name" => "google_oauth2",
"app_id" => "YOUR_APP_ID", "app_id" => "YOUR_APP_ID",
"app_secret" => "YOUR_APP_SECRET", "app_secret" => "YOUR_APP_SECRET",
"args" => { "access_type" => "offline", "approval_prompt" => '' } } "args" => { "access_type" => "offline", "approval_prompt" => '' }
} }
] ]
``` ```
......
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