Skip to content

martamedio/liferay-oauth2-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liferay OAuth2 Tester

HTML and Javascript utility to test OAuth 2.0 integration on Liferay, built with jQuery 3.1.1 and Bootstrap 4.1.1

You can follow the official documentation to create and manage OAuth2 Applications here

How to use the Liferay OAuth 2.0 Tester application

  1. Start Liferay Portal
  2. Register a new OAuth2 application and set as callback: http://DEPLOYMENT_OF_THIS_UTILITY/?url=YOUR_LIFERAY_URL&client_id=YOUR_CLIENT_ID
  3. Add a Scope to the new application
  4. Access to the utility and fill out the form for "Obtain Liferay Authorization"
  5. Click on "Authorize My Application"
  6. You will receive an authorization code, then the application can use to exchange for an access token
  7. Fill out the form for "Obtain OAuth2 Token"
  8. You should get back an access token
  9. You can launch API requests and also test the "Refresh Token" funcionality

Deployed at: http://martamedio.com/oauth2-tester/

About

Liferay OAuth2 Application Tester

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published