Skip to content

Commit

Permalink
e-mail domain fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Oct 1, 2024
1 parent 9818836 commit 208c5c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dev-authn-env/docker-compose-keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#
# Access public SPA http://dataverse-public.localhost:9000/
# Access public API http://dataverse-public.localhost:9000/api/v1/users/:me
# click on "Log In" and login with user=admin@example.com, password=password, or use:
# Access authenticated SPA http://oauth2-proxy.localhost:4180/ to initiate a login cycle using user=admin@example.com, password=password
# Access authenticated API http://oauth2-proxy.localhost:4180/api/v1/users/:me to initiate a login cycle using user=admin@example.com, password=password
# click on "Log In" and login with user=admin@mailinator.com, password=password, or use:
# Access authenticated SPA http://oauth2-proxy.localhost:4180/ to initiate a login cycle using user=admin@mailinator.com, password=password
# Access authenticated API http://oauth2-proxy.localhost:4180/api/v1/users/:me to initiate a login cycle using user=admin@mailinator.com, password=password
# Access http://keycloak.localhost:9080 with the same credentials to check out the settings
services:

Expand Down Expand Up @@ -48,7 +48,7 @@ services:
- ./keycloak:/opt/keycloak/data/import
environment:
KC_HTTP_PORT: 9080
KEYCLOAK_ADMIN: admin@example.com
KEYCLOAK_ADMIN: admin@mailinator.com
KEYCLOAK_ADMIN_PASSWORD: password
ports:
- 9080:9080/tcp
Expand Down
2 changes: 1 addition & 1 deletion dev-authn-env/oauth2-proxy-keycloak.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
http_address="0.0.0.0:4180"
cookie_secret="OQINaROshtE9TcZkNAm-5Zs2Pv3xaWytBmc5W7sPX7w="
email_domains="example.com"
email_domains="mailinator.com"
cookie_secure="false"
upstreams="http://dataverse"
cookie_domains=["oauth2-proxy.localhost:4080", "dataverse.localhost:8000", "keycloak.localhost:9080"] # Required so cookie can be read on all subdomains.
Expand Down

0 comments on commit 208c5c0

Please sign in to comment.