Oauth callback problem
Posted
by yogsma
on Stack Overflow
See other posts from Stack Overflow
or by yogsma
Published on 2010-04-01T05:44:37Z
Indexed on
2010/04/01
5:53 UTC
Read the original article
Hit count: 339
I am using OAuth with google data api. We have a portal only for authorized users. So when users are logged in and if they are accessing calendar page, they will be asked if they want to sync their calendars with google calendar. If yes, they will be redirected for authentication. Once user has granted access, google appends OAuth_Token to the callback URL. the callback URL was that of the page of calendar in portal. This url has its query string options encrypted. But when the redirection happens , it takes back to login page of url.
url is like http://aaa.xyz.com/(encrypted part of query string) and after oauth_token is authorized, this url becomes
http://aaa.xyz.com/(encrypted part of query string)&oauth_token. So the user sees the login page after redirection instead of original page. How should I handle this in code.
© Stack Overflow or respective owner