From bae45ee159e5d4c8100aa40e6ef99eb31354dadd Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Fri, 7 Mar 2025 16:52:23 +0100 Subject: [PATCH] docs(cloud login v2): use default login url (#9477) # Which Problems Are Solved We configured the default base URL for the hosted v2 login to `/ui/v2/login`. However, the docs still instruct readers to configure the URL explicitly. This is unneccesary mental overhead and a risk of self-DOS due to typos. # How the Problems Are Solved The docs instruct readers to not configure the base URL in order to use the default. Co-authored-by: Livio Spring --- docs/docs/guides/integrate/login/hosted-login.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/integrate/login/hosted-login.mdx b/docs/docs/guides/integrate/login/hosted-login.mdx index 4b9f3dda49..e048eeb4e9 100644 --- a/docs/docs/guides/integrate/login/hosted-login.mdx +++ b/docs/docs/guides/integrate/login/hosted-login.mdx @@ -193,9 +193,9 @@ Your contributions will play a crucial role in shaping the future of our login s To activate it to authenticate on your Zitadel Cloud apps, you can follow one of these steps: - 1. Enable the new login on your application configuration and point it to `/ui/v2/login`. With these settings, Zitadel will automatically redirect you to the new login if you call the old one. + 1. Enable the new login on your application configuration. Leave the field **Custom base URL for the new Login UI** empty to use the default. With these settings, Zitadel will automatically redirect you to the new login if you call the old one. ![Login V2 Application Configuration](/img/guides/integrate/login/login-v2-app-config.png) - 2. Enable the [loginV2 feature](https://zitadel.com/docs/apis/resources/feature_service_v2/feature-service-set-instance-features) on the instance and add the base URI `/ui/v2/login`. If you enable this feature, the login will be used for every application configured in your Zitadel instance. (Example: https://your-zitadel-instance.zitadel.cloud/ui/v2/login) + 2. Enable the [loginV2 feature](https://zitadel.com/docs/apis/resources/feature_service_v2/feature-service-set-instance-features) on the instance. Leave the base URI empty to use the default. If you enable this feature, the login will be used for every application configured in your Zitadel instance. (Example: https://your-zitadel-instance.zitadel.cloud/ui/v2/login)