Created
March 11, 2026 14:39
-
-
Save fdonzello/c0f15c0a2f2134c107f341a5687bface to your computer and use it in GitHub Desktop.
Get a token
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s -X POST http://localhost:8180/realms/quarkus/protocol/openid-connect/token \ | |
| -d "grant_type=password" \ | |
| -d "client_id=backend-service" \ | |
| -d "client_secret=secret" \ | |
| -d "username=testuser" \ | |
| -d "password=test" | jq .access_token -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment