What is the maximum length of "Reply URL" and "Logout Url" field in Basic SAML Configuration section ?

Venkatesh Naik 40 Reputation points
2024-12-16T05:48:55.54+00:00

User's image

What is the maximum length of "Reply URL" and "Logout Url" field in Basic SAML Configuration section ?

if the length of string is 256 in Reply URL and LogoutUrl
then i can able to save it but above that i cant.

So should i consider the maximum allowed length of Reply URL and Logout Url is 256 ?
if yes then why 256 ?

Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Adharsh Santhanam 6,015 Reputation points Volunteer Moderator
    2024-12-16T07:53:47.55+00:00

    Hello Venkatesh Naik, yes, the maximum allowed length for both the Reply URL and Logout URL of Entra ID is 256 characters. This limit is in place to ensure compatibility and security within the security. This 256 character limit is a common constraint in many systems due to historical and technical reasons. It balances the need for sufficiently long URLs to accommodate various parameters and paths while maintaining efficient processing and storage. Longer URLs can lead to issues with budder overflows and increased complexity in handling and validating the URLs. See this article which mentions the 256 character limit - https://learn.microsoft.com/en-us/entra/identity-platform/reply-url#maximum-number-of-redirect-uris-and-uri-length

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Adharsh Santhanam 6,015 Reputation points Volunteer Moderator
    2024-12-16T07:56:21.3266667+00:00

    Hello Venkatesh Naik, yes, the maximum allowed length for both the Reply URL and Logout URL in the Basic SAML Configuration of Entra ID is 256 characters. This limit is in place to ensure compatibility and security within the system. The 256-character limit is a common constraint in many systems due to historical and technical reasons. It balances the need for sufficiently long URLs to accommodate various parameters and paths while maintaining efficient processing and storage. Longer URLs can lead to issues with buffer overflows and increased complexity in handling and validating the URLs. See this article which mentions about the 256 character limit - https://learn.microsoft.com/en-us/entra/identity-platform/reply-url#maximum-number-of-redirect-uris-and-uri-length

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.