Developer Key with Multiple Redirect URIs?

Jump to solution
samuel_malcolm
Community Participant

Hi all! i cant seem to get something working and im probably missunderstanding or making a silly mistake. Basically i want my developer key to be able to use multiple redirects, one for testing and one for production. But when i use the Redirect URIs in the developer key settings box and list both that are needed i get the error when trying to use the oAuth2 flow that the URI is not the one associated with the developer key? has anyone else had this issue? i basically want the dev key to be able to redirect to my application server OR localhost depending on which one i pass into the query string. Is this possible? I would think thats the purpose of having the multiple redirect URI box 292697_dev key.png

When i have this if i go to the auth url with my client id i get the invalid redirect error.

Labels (2)
1 Solution
samuel_malcolm
Community Participant
Author

OK i have it working now, the issue was leaving the slash off in the developer key settings and having it on in the query string. They have to be exactly the same

View solution in original post