Hi
Having an issue getting access token using postman from our training server
- created a new IAM client (set Service Accounts and
Direct Access Grants to enabled - not sure if required) - Selected OAuth2.0
- Add Authorization data to is set to ‘Request Headers’
- Populated callback URL, Auth URL and Access Token URL with what I think is correct
- Scope is ‘openid microprofile-jwt’
- Client auth is ‘Send as Basic Auth Header’
All seems to work except get the following error
{"error":"invalid_grant","error_description":"Code not valid"}
I am using Azure auth when getting new access token and we sit behind a http proxy but the logs suggest this all works fine
When call to /auth/realms/stantrn1/protocol/openid-connect/token is made, can clearly see auth code being sent similar to format 1.xxxXXXxXxxx….