diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 244af6b0ccfdd2dd3d7ec4fe694018fa16ddfe83..14fb285f4f8c632c42ef305f014cda831baac29b 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -1134,7 +1134,8 @@ production: &base
       #     args: {
       #       client_id: 'YOUR_AUTH0_CLIENT_ID',
       #       client_secret: 'YOUR_AUTH0_CLIENT_SECRET',
-      #       namespace: 'YOUR_AUTH0_DOMAIN' } }
+      #       domain: 'YOUR_AUTH0_DOMAIN',
+      #       scope: 'openid profile email' } }
 
   # FortiAuthenticator settings
   forti_authenticator:
@@ -1618,7 +1619,8 @@ test:
           args: {
             client_id: 'YOUR_AUTH0_CLIENT_ID',
             client_secret: 'YOUR_AUTH0_CLIENT_SECRET',
-            namespace: 'YOUR_AUTH0_DOMAIN' } }
+            domain: 'YOUR_AUTH0_DOMAIN',
+            scope: 'openid profile email' } }
       - { name: 'salesforce',
           app_id: 'YOUR_CLIENT_ID',
           app_secret: 'YOUR_CLIENT_SECRET'
diff --git a/doc/integration/auth0.md b/doc/integration/auth0.md
index 4e90ade66201d5bf27a4c6eab7cce4d2606ddbcf..bda40c0655e3357bb1ff28c96dde66f2546dc657 100644
--- a/doc/integration/auth0.md
+++ b/doc/integration/auth0.md
@@ -80,7 +80,7 @@ application.
 
 1. Replace `<your_auth0_client_id>` with the client ID from the Auth0 Console page.
 1. Replace `<your_auth0_client_secret>` with the client secret from the Auth0 Console page.
-1. Replace `<your_auth0_client_secret>` with the domain from the Auth0 Console page.
+1. Replace `<your_auth0_domain>` with the domain from the Auth0 Console page.
 1. Reconfigure or restart GitLab, depending on your installation method:
    - If you installed using the Linux package,
      [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).