Simple Web App to Demonstrate OAuth2.0 Authorisation Grants
Download the complete web app at ( google code svn repo ):
https://oauth2-0.googlecode.com/svn/trunk/restful
Deploy the app in a web container and test it on firefox
Start Url :
http://localhost:8080/restful/register
This brings up a 'Client Registration Page'
Successfull registration returns a page showing the system generated Client Credential like ClientId and Client Key.
Click on the link 'Try out this App.....'
This link will take you on a tour to different Authorisation grant workflow:
Authenticate with following credentials ( at the Authentication End Point Login page ) :
username : nk
password : nk
Start Url :
http://localhost:8080/restful/register
This brings up a 'Client Registration Page'
Successfull registration returns a page showing the system generated Client Credential like ClientId and Client Key.
Click on the link 'Try out this App.....'
This link will take you on a tour to different Authorisation grant workflow:
- Authorisation Code grant
- Implicit grant via a javascript client
Authenticate with following credentials ( at the Authentication End Point Login page ) :
username : nk
password : nk
If Any time you get access Denied message, then see the
error message for the cause.
Expiry time of access token = 3 secs
No comments:
Post a Comment