Friday, May 15, 2015

Getting started with OAuth 2.0 Playground

Google OAuth 2.0 Playground

Step 1:

Step 2:
Click on settings and select OAuth flow as Server-side, OAuth endpoint as Google, Access token location as Authorization header w/ Bearer prefix, and Access type as Offline.

Step 3:
Select from Google+ API v1 and click on Authorize APIs.

Step 4:
Click Accept to grant permissions to Google OAuth 2.0 Playground service.

Step 5:
Observe that Authorization code has been generated.

Step 6:
Click on Exchange authorization code for tokens buttons to generate Refresh token and Access token. Observe expiry time for access token.

Step 7:
Request URI has been passed is and you can see HTTP GET Method response.

Step 8:
Setting Request URI as will give the user info.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.