Created
June 13, 2018 12:58
-
-
Save sebastienblanc/cc4d4a956a8128549df1843bb0cffed4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# is the url for retrieve the openid configuration - normally the <server>/auth/realm/<realm_name> | |
discovery-url: http://localhost:8180/auth/realms/summit | |
# the client id for the 'client' application | |
client-id: product-app | |
client-secret: 6dcb4195-c172-4da8-9ddf-e8fce0f1c0df | |
# the interface definition you wish the proxy to listen, all interfaces is specified as ':<port>' | |
listen: localhost:5000 | |
redirection-url: http://localhost:5000 | |
# log all incoming requests | |
enable-logging: true | |
# log in json format | |
enable-json-logging: true | |
enable-refresh-tokens: true | |
encryption-key: macsefvijadrufcafpotgaciocgazvaf | |
upstream-url: http://localhost:8080 | |
# upstream-keepalives specified wheather you want keepalive on the upstream endpoint | |
upstream-keepalives: true | |
skip-client-id : true | |
secure-cookie: false | |
revocation-url: http://localhost:8180/auth/realms/summit/protocol/openid-connect/logout | |
resources: | |
- uri: /products* | |
methods: | |
- GET | |
roles: | |
- user | |
cors-origins: | |
- 'http://localhost:8080' | |
cors-headers: | |
- '*' | |
cors-methods: | |
- GET | |
- POST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment