Files
karkarcar-astro/README.md

31 lines
834 B
Markdown

# How to:
## Start
- `docker-compose up`
- `docker-compose up -d` | Modo demonio
- Keycloak: http://localhost:8180/ user/pass admin:admin
- http://localhost:8180/admin/master/console/#/master/clients
- Client ID: karkarcar
- Client authentication ✅
- Authorization ✅
- OAuth 2.0 Device Authorization Grant ✅
- Alternative: import [text](keycloak-cli-karkarcar.json)
# CLI
- Root url: http://localhost:4321
- Redirect url: http://localhost:4321/api/auth/callback/keycloak
- Pestaña Credentials
- Copy Client secret
- Add user: email & password
- `npm run dev` | Start astro
###
```bash
KEYCLOAK_CLIENT_ID=karkarcar
KEYCLOAK_CLIENT_SECRET=fdI1OtyX0YNNUMqfcsbSMFTv9WfzQQwy
KEYCLOAK_ISSUER=http://localhost:8180/realms/master
```
### OpenId info
- http://localhost:8180/realms/master/.well-known/openid-configuration