Reputation: 23935
I want to use Twitter to sign on in an iOS application. Once the user has authenticated with Twitter I want to pass these credentials to a server in order to match these with a user profile stored in a database.
I can comunicate with my server over https, but this still doesn't tell me that the credentials I am being passed from the app are:
Do I need to implement reverse authentication to provide a method to do this securely? (If not what method should I use to know that the information provided is correct)
Upvotes: 0
Views: 223
Reputation: 6921
I think the methodology is once you got the token/secret from the iOS client is to call the GET account/verify_credentials, then you get the user account and you can compare twitter user id or name with the one stored on your user profiles.
Upvotes: 2