Skip to content

Instantly share code, notes, and snippets.

@kiall
Created August 22, 2011 19:49
Show Gist options
  • Save kiall/1163337 to your computer and use it in GitHub Desktop.
Save kiall/1163337 to your computer and use it in GitHub Desktop.
/oauth2/authorize?response_type=code&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI]
/oauth2/authorize?response_type=token&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI]
/oauth2/token?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&redirect_uri=[REDIRECT_URI]&grant_type=authorization_code&code=[CODE]
/oauth2/token?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&redirect_uri=[REDIRECT_URI]&grant_type=refresh_token&refresh_token=[REFRESH_TOKEN]
/protected/resource?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&access_token=[ACCESS_TOKEN]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment