OAuth Redirect URI with custom parameters


#1

Hello,

My redirect URL is http://xyz.com?page=abc, but after successful authenticating the account, I am getting the url as http://xyz.com?page&code=xxx-xxx and that is 404 for me, because page parameter is removed.

Any other alternative? Using headers() PHP to redirect to your app oauth url.


Integration with OAuth 2.0
#3

Hi @Pavitra_Mehta, at this time, redirect URI's cannot contain query parameters. I definitely understand the use case in terms of using that with dynamic pages, but we can't have any query parameters in the redirect URI. I'd recommend setting up a separate page that you redirect to for you application.


#4

Thanks Connor,

To get the results I have to use it this way then.

:slight_smile: