mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
d90db6693c
# Which Problems Are Solved The success and failure URLs post IDP intent are limited to 200 characters. This is very low given the standard for URL lengths is much higher https://www.baeldung.com/cs/max-url-length#maximum-length-of-a-url-in-different-browsers Name of the Browser | URL Length -- | -- Google Chrome | Maximum of 2048 characters for a URL Mozilla Firefox | The address bar no longer shows the URL after 65536 characters Internet Explorer | Maximum length of the URL is 2083 characters Safari | Supports up to 80000 characters for a URL Opera | Can display up to 190000 characters in its address bar Apache | Supports a maximum of 4000 characters The user post SSO login w/ Zitadel, sees deep links to out app e.g. `www.mycompany.com/idp/success?deeplink=app/mypage/id/test#thing=abcdef` and these are usually greater than 200 characters. # How the Problems Are Solved Replace this example text with a concise list of changes that this PR introduces. - Update validation check for SuccessURL length on v2 and v3 APIs to a max of 2048 characters - Update validation check for FailureURL length on v2 and v3 APIs to a max of 2048 characters I didn't find any docs t update reflecting this change in length # Additional Context Fixes the error ```<PreparedRequest [POST]>, status: 400, reason: Bad Request, response: {"code":3,"message":"invalid StartIdentityProviderIntentRequest.Urls: embedded message failed validation | caused by: invalid RedirectURLs.SuccessUrl: value length must be between 1 and 200 runes, inclusive"}``` |
||
---|---|---|
.. | ||
zitadel | ||
buf.lock | ||
buf.yaml |