create .env
file with the following properties:
OAUTH2_CLIENT_ID=cVst-hietkse9uNr3fdvMnVFh-IOxmC2
OAUTH2_CLIENT_SECRET=************
OAUTH2_CALLBACK_URL=http://localhost:3000/callback
OAUTH2_AUTHORIZATION_URL=https://login-poc.auth0.com/authorize
OAUTH2_TOKEN_URL=https://login-poc.auth0.com/oauth/token
OIDC_USERINFO_URL=https://login-poc.auth0.com/userinfo%
run:
docker run --rm -it --env-file .env -p 3000:3000 eitanya/oauth2-app-mock
Same as above, just omit the OIDC_USERINFO_URL
.