OAuth2.0 Demo Application
Welcome to the OAuth2.0 Demo Application! This is an application that demos some of the basic OAuth2.0 Workflows.
Authorization Code grant type is the most common workflow for OAuth2.0. Clicking the "Authorize" button below will send you to an OAuth2.0 Server to authorize:
Implicit grant type is very similar to the
Authorization Code grant type,
except that the
Access Token is returned as part of the URL fragment instead of an API
request to the OAuth2.0 Server. Clicking the "Authorize" button below will send you to an
OAuth2.0 Server to authorize:
User Credentials grant type is a Two-Legged approach that allows you to
Access Token in exchange for a set of end-user credentials.
The OAuth2 Server supports the following user credentials:
- Username: demouser
- Password: testpass
Make the following cURL request to receive an access token:
$ curl -v "http://plus-direct.jp/cn/token" \ -d "grant_type=password&client_id=testclient&client_secret=testpass&username=demouser&password=testpass"
...or just click below to let us do it for you
Refresh Token grant type is typically used in tandem with the
Authorization Code grant type. Click the "Authorize" button to receive an authorization code:
OpenID Connect is a special way of obtaining information about a user. Click the button below to go through the OpenID connect flow. It is initiated with an authorize request (just like in
Authorization Code) but with the
scope querystring parameter including the value
implicitgrant type, but the Access Token also returns with an ID Token.