I want to redirect a user to the next URL after authenticating on a third party web page. In the redirect URL I want it to contain some info about the user, i.e. session id. For example my redirect URL will be www.z.appspot.com/?session=x/ when the user returns to my page I want to parse some of their details from the new URL, for example www.z.appspot.com/?access_code=x/?token=y&user_id=u but when trying to parse out the information it is unable to see the token in the URL as it takes it to be part of session. I tried using & but still no joy
I want to redirect a user to the next URL after authenticating on a
Share
It looks like the service you’re redirecting to doesn’t compose query parameters in the continue URL correctly. The easiest way around this would be (as I suggested in your original question) to send the parameter as part of the path, rather than the query string – that is, use URLs of the form:
Where
1234is the user’s session ID or user ID.