Getting this error Hydra version v1.4.6 ```time="2...
# talk-hydra
d
Getting this error Hydra version v1.4.6
Copy code
time="2022-09-28T11:04:47Z" level=error msg="An error occurred" debug=": not_found" description="The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client" error=invalid_grant
time="2022-09-28T11:04:47Z" level=warning msg="Configuration key OAUTH2_ACCESS_TOKEN_STRATEGY is deprecated and will be removed in a future release. Use key strategies.access_token instead!"
time="2022-09-28T11:04:47Z" level=info msg="completed handling request" measure#hydra/public: <http://localhost:9000/.latency=125752000> method=POST remote="172.18.0.1:57600" request=/oauth2/token status=400 text_status="Bad Request" took=125.752ms
It works fine for v1.4.1
s
what is your request and the response you get?
d
Copy code
method=GET request="/oauth2/auth?client_id=meshery-cloud&login_verifier=f58088a8269244b39eb0bc9e34cf5b3f&nonce=wznxatgqqtevzqblipjpvimb&redirect_uri=http%3A%2F%2Flocalhost%3A9876%2Fcallback&response_type=code&scope=openid+offline+offline_access&state=aHR0cDovL2xvY2FsaG9zdDo5ODc2L2FjY291bnQ%3ALw%3D%3D"
And I get this error
level=error msg="An error occurred" debug="No CSRF value available in the session cookie" description="The request is not allowed" error=request_forbidden hint="You are not allowed to perform this action."
And I have this another request in logs
request="/oauth2/auth?client_id=test&login_verifier=f58088a8269244b39eb0bc9e34cf5b3f&nonce=wznxatgqqtevzqblipjpvimb&redirect_uri=http%3A%2F%2Flocalhost%3A9876%2Fcallback&response_type=code&scope=openid+offline+offline_access&state=aHR0cDovL2xvY2FsaG9zdDo5ODc2L2FjY291bnQ%3ALw%3D%3D" status=302
Followed by the
invalid grant
error
@steep-lamp-91158
a
@dazzling-honey-93005 how did you make these requests?
d
I start hydra with following config . when I click login the flow starts, is this what you meant??