Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OAuth2 client demo

This is a demo webapp using the OAuth2 provider of a Simplicit® instance.

Prerequisites

  • Have an up and running Simplicit® v7+ instance
  • Have an external application configured on it with <base URL>/oauth2client/callback.jsp as redirect URI

The instance URL is to be configured in the TEST_INSTANCE_URL environment variable.

The client ID and client secret of the above external application are to be configured in the TEST_CLIENT_ID and TEST_CLIENT_SECRET environment variables.

These 3 variables must be visible from the webapp thus must be visible to the web container running it.

Build

mvn -U clean compile

Deploy

Copy the target/oauth2client folder (or the target/oauth2client.war file) in your web container deploy folder.

Once deployed the webapp is available on /oauth2client

About

Demo OAuth2 client Java webapp

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages