Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/integration/auth0.md')
-rw-r--r--doc/integration/auth0.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/integration/auth0.md b/doc/integration/auth0.md
index e243e1defe8..8bac95c5f04 100644
--- a/doc/integration/auth0.md
+++ b/doc/integration/auth0.md
@@ -58,12 +58,14 @@ application.
```ruby
gitlab_rails['omniauth_providers'] = [
{
- "name" => "auth0",
- "args" => { client_id: 'YOUR_AUTH0_CLIENT_ID',
- client_secret: 'YOUR_AUTH0_CLIENT_SECRET',
- domain: 'YOUR_AUTH0_DOMAIN',
- scope: 'openid profile email'
- }
+ name: "auth0",
+ # label: "Provider name", # optional label for login button, defaults to "Auth0"
+ args: {
+ client_id: "YOUR_AUTH0_CLIENT_ID",
+ client_secret: "YOUR_AUTH0_CLIENT_SECRET",
+ domain: "YOUR_AUTH0_DOMAIN",
+ scope: "openid profile email"
+ }
}
]
```
@@ -72,6 +74,7 @@ application.
```yaml
- { name: 'auth0',
+ # label: 'Provider name', # optional label for login button, defaults to "Auth0"
args: {
client_id: 'YOUR_AUTH0_CLIENT_ID',
client_secret: 'YOUR_AUTH0_CLIENT_SECRET',