Hi guys,
I have set up hydra using docker and kubernetes, It is working fine for the client credentials grant type but when I hit the /oauth2/auth endpoint to get the auth code with GET request with header as ‘x-www-form-urlencoded’ along with response_type as code and client_id, I get 200 response with Error: invalid_client, Description: Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method) and Hint: The requested OAuth 2.0 Client does not exist.
I also tried sending client_secret alongwith request but still same response.
Same client works fine with client credentials grant type.
Client registration response json is (POST /clients response): {
“client_id”: “test-stag-9”,
“client_name”: “test”,
“redirect_uris”: [
“localhost:8080”
],
“grant_types”: [
“authentication_code”,
“client_credentials”
],
“response_types”: [
“code”,
“token”
],
“scope”: “name mail”,
“owner”: “”,
“policy_uri”: “”,
“allowed_cors_origins”: null,
“tos_uri”: “”,
“client_uri”: “”,
“logo_uri”: “”,
“contacts”: null,
“client_secret_expires_at”: 0,
“subject_type”: “public”,
“token_endpoint_auth_method”: “none”,
“userinfo_signed_response_alg”: “none”
}
Using oryd/hydra:v1.0.0-beta.9
Any help will be much appreciated