Hey
I'm using the IdentityModel.OidcClient to authenticate the dropbox account of a user within my application.
The authentication works as expected with one exception: The redirect_uri. I'm using random ports within the redirect_uri to avoid connection problems e.g. https://127.0.0.1:{randomPort}. If I do so, I receive the following exception:
"Invalid redirect_uri: "https://127.0.0.1:51931": It must exactly match one of the redirect URIs you've pre-configured for your app (including the path)."
Is there a way to use random ports with the redirect_uri or do I have to use static ports? Is there a limitation to the amount of redirect URIs?
Thanks for help.
BTW: Google, Microsoft and Box.com support random ports for 127.0.0.1 as redirect_uri.