Skip to content

Commit

Permalink
allow api requests with bearer tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Sep 23, 2024
1 parent febeafc commit 327439b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authn-env/oauth2-proxy-keycloak.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cookie_secure="false"
upstreams="http://dataverse"
cookie_domains=["oauth2-proxy.localtest.me:4080", "dataverse.localtest.me:8000", "keycloak.localtest.me:9080"] # Required so cookie can be read on all subdomains.
whitelist_domains=[".localtest.me"] # Required to allow redirection back to original requested target.
skip_jwt_bearer_tokens="true" # will skip requests that have verified JWT bearer tokens (the token must have aud that matches this client id or one of the extras from extra-jwt-issuers)

# keycloak provider
client_secret="72341b6d-7065-4518-a0e4-50ee15025608"
Expand Down

0 comments on commit 327439b

Please sign in to comment.