Thanx a lot.. it worked

On Monday, February 17, 2014 3:39:40 AM UTC+5:30, Michele Comitini wrote:
>
> inside the user() action in controllers/default.py you can add:
>
> if request.vars.state:
>             auth_provider = 
> cgi.parse_qs(request.vars.state)['auth_provider'][0]
>
>
> then you can do what you need with auth_provider
>
>
> 2014-02-16 12:13 GMT+01:00 ssuresh <sureshs...@gmail.com <javascript:>>:
>
>> I am using google oauth login as explained  here 
>> https://groups.google.com/forum/#!msg/web2py/fjpbFxRAGJM/pxvoBJKk2UkJ..
>> I am trying to use the "state" parameter to pass some additional values 
>> to google. As I understand we should get the values back in the response 
>> from google. My authentication is working fine and I am able to retrieve 
>> first name last name etc.. But I am not able toget the state values... Any 
>> ideas?
>>  
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to