For testing purpose only
Prebuilt image is pushed to hpcsc/identity-server:0.0.1
docker run -p 80:80 hpcsc/identity-server:0.0.1
This image by default loads config files at /app/config
folder
Default config files define:
- 2 clients:
full-access-client
andread-only-client
, with the same secret:secret
- 1 api resource
api
with 2 scopesapi.full_access
andapi.read_only
POST
to /connect/token
with following information:
- Basic authentication
- Username:
full-access-client
orread-only-client
- Password:
secret
- Username:
- Body form data (
x-www-form-urlencoded
)grant_type
:client_credentials
scope
:api.full_access
orapi.read_only