Hello,

I'm trying to implement Social Login following this example exactly as it 
shows here:

https://groups.google.com/forum/#!topic/web2py/S9ukjWz6qMA

Facebook works well, but I'm having some issues:

1. Twitter login works fine, but when it returns from twitter's login page 
to my web2py app(through the callback url), it happens two things:
  1.1 My web2py app automatically redirects to 'logout' method, leaving me 
in the default/index page and "logging me out", even if twitter auth 
succeed.
  1.2 Twitter user's data(like name, id, etc) is not stored in DB(Facebook 
login did store it)

Notes: To login with Twitter I use the regular login 
url(default/user/login) which redirects me to twitter auth so I set the 
Callback URL to be the same url. 

2. I want to use Facebook/Twitter/Web2py auth simultaneously (and if 
possible merge all accounts through email address or username) but I can't 
figure it out how to set auth.settings.login_form dynamically. Currently 
i'm setting it in db.py and can't be overdiden it in the controller. In 
other words, I'm facing the same issue JungHyun Kim is experiencing.

3. I don't want to use Janrain.

Thanks a lot for your help, I've already tried with a lot of outdated 
examples and it's driving me nuts :P

Cheers.


-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to