Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth Resource Server Demo

Objective

This sample shows an OAuth RS (or microservice).

It relies on Silhouette and Oauth2 for caller authorization.

Usage

  1. Start Talend IAM OIDC

  2. Register your OAuth Application Client in IAM

    Name Value
    Application Name Sample Play RS Application
    Redirect URL http://localhost:9999/login

    Copy the created clientId and clientSecret, you'll need them in the following step.

  3. Configure sample-ac application

    Note : I should change the keys, this isn't the OIDC Application Client !

    conf/silhouette.conf with the following info :

    Name Value
    silhouette.oidc.clientId
    silhouette.oidc.clientSecret
    silhouette.oidc.tokenIntrospectUri OAuth AS introspect endpoint
  4. Start sample-rs application on port 9001

  5. Test it :

About

Play OAuth2 Resource Server POC using Silhouette 4.x

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages