This is a demo webapp using the OAuth2 provider of a Simplicit® instance.
- Have an up and running Simplicit® v7+ instance
- Have an external application configured on it with
<base URL>/oauth2client/callback.jspas 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.
mvn -U clean compile
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