Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

Sign in with Twitter by Mind Map: Sign in with Twitter
5.0 stars - 1 reviews range from 0 to 5

Sign in with Twitter

1. Request token

POST oauth/request_token

request, consumer_key, consumer_secret, oauth_callback

response 200, oauth_token, oauth_token_secret, oauth_callback_confirmed, must to be true

redirect user to authentication

2. Redirecting

GET oauth/authenticate

request, oauth_token

user is redirected to Twitter, signed in, has granted access, twitter redirects automatically, signed in, but has not granted access yet, twitter ask the user to grant access, not signed in, twitter ask user to sign in and grant access

response 304

GET {{oauth_callback}}

request, oauth_token, associate oauth_token to the one previously stored, oauth_verifier

request without authorization

3. Access Token

POST oauth/access_token

request, consumer_key, consumer_secret, token, oauth_token, token_secret, oauth_token_secret, oauth_verifier

response 200, oauth_token, access_token, oauth_token_secret, access_token_secret, screen_name

4. Verify Credentials

GET account/verify_credentials

request, consumer_key, consumer_secret, token, access_token, token_secret, access_token_secret

response 200, user details

5. Follow your app flow

any request to Twitter API should be signed with

consumer_key

consumer_secret

token, access_token

token_secret, access_token_secret

0. User clicks Sign In

reference

follow the numbered steps

request done by your backend

request done by user browser

HTTPS

included in oauth signature

HTTP entity body

URL query string

this must to be stored by your app

User interaction