Is your feature request related to a problem? Please describe.
Some IdPs have a limit on the length of the state parameter.
For example, the following error was returned from the federated IdP when accessing the Cognito authorization endpoint:
error_description=state+value+is+too+long.
Describe the solution you'd like
Adjust the length of the state parameter generated by Cognito.
Describe alternatives you've considered
I found that adding a short length nonce parameter could work around this problem.
Is your feature request related to a problem? Please describe. Some IdPs have a limit on the length of the state parameter. For example, the following error was returned from the federated IdP when accessing the Cognito authorization endpoint:
error_description=state+value+is+too+long.
Describe the solution you'd like Adjust the length of the state parameter generated by Cognito.
Describe alternatives you've considered I found that adding a short length nonce parameter could work around this problem.
So, it would be nice if users could specify the query string without modifying the library.
Thank you.