This is a migrated thread and some comments may be shown as answers.

Twitter Authentication Support

1 Answer 53 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kelly
Top achievements
Rank 1
Kelly asked on 14 Mar 2014, 04:28 PM
Hello:

What is the status of TBS support for Twitter authentication, please?  The TBS doc mentions a LoginWithTwitter call in the .net SDK and Everlive javascript SDK, but neither of those calls exist in the versions I have, and I think I have the latest.  It looks like Twitter doesn't support OAuth2 yet, and client-side javascript implementation of OAuth1 is not secure - so, is it the general feeling at Telerik that supporting Twitter authentication isn't feasible at this point?  On the other hand, if someone there has pulled it off successfully in a hybrid app, is there an example somewhere?

Thank you,

Kelly

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 14 Mar 2014, 04:58 PM
Hello Kelly,

Thank you for your question!

You can test with the latest public version of the JavaScript SDK or the REST API. The latest build of the .NET SDK will be live soon. In addtion, we do not have a demo for Twitter authentication right now, but are considering to create one.

Twitter adheres to OAuth1.0a protocol. The most interesting part that has to be implemented client-side is the signing the request and send it to Twitter, in order to obtain the access token and the token secret for the user and pass them to Backend Services. You are right that there are a lot of recommendations to do this server-side. There are also a lot of community threads on this. A base line there are really the security issues in the client-side implementation and the use of external JS libraries for this.

In order to test the Backend Services part of the overall user authentication:
- Register an app with the developer section of Twitter (requires consumer Twitter registration and verified mobile number for this account).
- Obtain the API key and API secret for the app and place them into the backend project under Settings > User authentication > Twitter
- Obtain the access token and token secret from Twitter for you own acount
- Make a request to Backend Services API with them
- You are already registered into the Users section of the backend services project (note that Twitter will not provide the email of a user)


Please, let us know if you have further questions!

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
 
Tags
General Discussion
Asked by
Kelly
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or