oidc-vue-test/README.md

29 lines
732 B
Markdown
Raw Permalink Normal View History

2025-01-31 04:34:43 +00:00
# Test app for OIDC, OAuth2 - web app version written with Vue3
2025-01-25 02:23:43 +01:00
Small web app for experimenting a web app with a Keycloak auth server.
2025-01-31 04:34:43 +00:00
It is a sibbling of the server version (oidc-test)[philorg/oidc-fastapi-test],
which acts also as a resource server.
Live demo: https://philo.ydns.eu/oidc-test-web:
- configured with a test realm on a private Keycloak instance
- 2 users are defined: foo (foofoo) and bar (barbar).
2025-01-25 02:23:43 +01:00
## Deployment
In a container:
```sh
pnpm run build --base oidc-test-web
podman run -it --rm -p 8874:80 -v ./dist:/usr/share/nginx/html/oidc-test-web docker.io/nginx:alpine
```
## Frontend
```Caddyfile
2025-01-31 04:16:36 +00:00
handle /oidc-test-web {
2025-01-25 02:23:43 +01:00
reverse-proxy hostname.domainame:8874
}
redir /oidc-test-web /oidc-test-web/
```