Running keycloak in 4 minutes for development on Windows
Commands:
- Starting keycloak in development mode:
kc.bat start-dev
- Obtaining token by curl:
curl -X POST http://localhost:8080/realms/custom-realm/protocol/openid-connect/token -H 'Content-Type:application/x-www-form-urlencoded' --data "client_id=custom-client&username=user&password=user&grant_type=password"
Helpful links:
- JSON beautifier:
- Tool for token debugging: