oca-server-auth/odoo-bringout-oca-server-auth-auth_jwt_demo/auth_jwt_demo/tests/spa
2025-08-29 15:43:06 +02:00
..
js Initial commit: OCA Server Auth packages (29 packages) 2025-08-29 15:43:06 +02:00
auth_settings.json Initial commit: OCA Server Auth packages (29 packages) 2025-08-29 15:43:06 +02:00
index.html Initial commit: OCA Server Auth packages (29 packages) 2025-08-29 15:43:06 +02:00
README.md Initial commit: OCA Server Auth packages (29 packages) 2025-08-29 15:43:06 +02:00

auth_jwt demo app

Inspired by https://auth0.com/docs/quickstart/spa/vanillajs, using https://github.com/IdentityModel/oidc-client-js.

First start keycloak with keycloak.sh in ../keycloak. Then serve this app by running python3 -m http.server in this directory.

Try demo/demo as keycloak login.

The Who am I ? button calls the http://localhost:8069/auth_jwt_demo/keycloak/whoami Odoo endpoint which is provided by this auth_jwt_demo module.