initial commit
This commit is contained in:
20
README.md
Normal file
20
README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
## Node.js Keycloak OAuth example
|
||||
|
||||
## 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 ✅
|
||||
- Root url: http://localhost:8080
|
||||
- Redirect url: http://localhost:8080/oauth/redirect
|
||||
- Pestaña Credentials
|
||||
- Copy Client secret
|
||||
- Add user: email & password
|
||||
- `npm start` http://localhost:8080/
|
||||
|
||||
### OpenId info
|
||||
- http://localhost:8180/realms/master/.well-known/openid-configuration
|
||||
Reference in New Issue
Block a user