Skip to content

Instantly share code, notes, and snippets.

@fdonzello
Created March 11, 2026 14:39
Show Gist options
  • Select an option

  • Save fdonzello/c0f15c0a2f2134c107f341a5687bface to your computer and use it in GitHub Desktop.

Select an option

Save fdonzello/c0f15c0a2f2134c107f341a5687bface to your computer and use it in GitHub Desktop.
Get a token
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