I made a stupid bug today and I managed to provide two state parameters to the /authentication endpoint like this:
And in the response back I got the two state parameters back:
I would expect as state is somewhat important parameter, that you would reject an authentication request with duplicate state values. Then of course the issue is if the second provided state parameter is considered as part of the redirect_uri or not. Perhaps a potential theoretical security issue?