export host=10.107.1.195 export port=8080 export realm=quickstart
access_token=curl -X POST "http://$host:$port/auth/realms/$realm/protocol/openid-connect/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'grant_type=password' \ -d 'client_id=authz-servlet' \ -d 'client_secret=secret' \ -d "username=bob" \ -d 'password=bob' | jq .access_token -r
curl -X POST "http://$host:$port/auth/realms/$realm/protocol/openid-connect/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'grant_type=password' \ -d 'client_id=authz-servlet' \ -d 'client_secret=secret' \ -d "username=bob" \ -d 'password=bob' | jq .access_token -r
jwt $access_token
curl -X POST http://$host:$port/auth/realms/$realm/protocol/openid-connect/token -H "Authorization: Bearer ${access_token}" --data "grant_type=urn:ietf:params:oauth:grant-type:uma-ticket" --data "audience=authz-servlet" | jq .access_token -r | jwt
There was an error while loading. Please reload this page.
<<AllPages()>>