diff --git a/docs/how-to-guides/admin/configurations/external-gitlab.rst b/docs/how-to-guides/admin/configurations/external-gitlab.rst index 5088afd9a7..903178ca5f 100644 --- a/docs/how-to-guides/admin/configurations/external-gitlab.rst +++ b/docs/how-to-guides/admin/configurations/external-gitlab.rst @@ -19,7 +19,7 @@ Callback URLs: .. code-block:: console - https:///login/redirect/gitlab + https:///api/auth/callback https:///api/auth/gitlab/token Scopes: diff --git a/scripts/generate-values/README.rst b/scripts/generate-values/README.rst index 48e89c77ce..dc2f94b35f 100644 --- a/scripts/generate-values/README.rst +++ b/scripts/generate-values/README.rst @@ -32,7 +32,7 @@ Configure the callback URLs: .. code-block:: - https:///login/redirect/gitlab + https:///api/auth/callback https:///api/auth/gitlab/token And set the scopes: diff --git a/scripts/init-db/gitlab_db_init.py b/scripts/init-db/gitlab_db_init.py index 67594dbd43..82038def55 100644 --- a/scripts/init-db/gitlab_db_init.py +++ b/scripts/init-db/gitlab_db_init.py @@ -83,7 +83,7 @@ def main(): config.gitlab_oauth_client_id, config.gitlab_oauth_client_secret, [ - f"{config.renku_url}/login/redirect/gitlab", + f"{config.renku_url}/api/auth/callback" f"{config.renku_url}/api/auth/gitlab/token", ], gitlab_db_connection,