Closed benjefferies closed 4 years ago
Describe the bug When trying to get an access token using tls_client_auth I get the error
tls_client_auth
curl --location --request POST 'https://matls.as.aspsp.ob.forgerock.financial/oauth2/access_token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'scope=openid accounts' \ --data-urlencode 'client_id=ad5fc2de-aa11-4b2f-aa66-615e8a388169' {"error_description":"Invalid authentication method for accessing this endpoint.","error":"invalid_client"}
To Reproduce Steps to reproduce the behaviour:
"token_endpoint_auth_method": "tls_client_auth", "tls_client_auth_subject_dn": "YOUR SUBJECT DN",
curl --location --request POST 'https://matls.as.aspsp.ob.forgerock.financial/oauth2/access_token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'scope=openid accounts' \ --data-urlencode 'client_id=ad5fc2de-aa11-4b2f-aa66-615e8a388169'
Expected behaviour An access token
Current behaviour
{"error_description":"Invalid authentication method for accessing this endpoint.","error":"invalid_client"}
Fixed and tested in integration environment
Describe the bug When trying to get an access token using
tls_client_auth
I get the errorTo Reproduce Steps to reproduce the behaviour:
Expected behaviour An access token
Current behaviour