|
I've followed this manual to set up Twitter auth: http://wiki.osqa.net/display/docs/Adding+Twitter+Authentication+to+OSQA And it seems to be working with few glitches though: 1) If I click on "login with Twitter" button, it sends me off to Twitter, where Twitter asks to authorise the application. OK, that's what it supposed to do on the first logon. So I create new user (screen name, email) and successfully log on. Then log out. Then try logging on again. And again I need to "authorise this app" on Twitter. However OSQA is not asking to provide with the screen name/email anymore. Why's that? I suppose OSQA is not storing authorisation token that it receives from Twitter? There's nothing logged in the log file either. 2) For some reason, email field is not populated. It's empty, so it seems that OSQA can't see all the details? BTW, same is with Facebook auth, email is not retrieved and in fact I was also getting:
When I was registering for the first time with FB. I worker around this by encapsulating this in I am using: Development Build (SVN-1169). |
select * from forum_authkeyuserassociation;
reveals that oauth_token and oath_token_secret are stored in the DB. I'll dig around, but still wondering why twitter keeps on asking for authorisation. The app appears as authorised on Twitter page... 8)
@rytis, all meta.osqa.net postings are required to have a clear, specific question in their title field. I have edited this one, but please observe this rule in future. Thanks.