OAuth Redirect URI with custom parameters



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

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.


Thanks Connor,

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