does the raw request work?
# talk-hydra
h
does the raw request work?
l
Nope, it doesn't. Somehow postman worked.
Copy code
time=2022-06-09T10:47:17Z level=info msg=access denied audience=application error=map[debug: message:invalid_token reason:Access token expired at '2022-06-09 05:24:55 +0000 UTC'. status:Unauthorized status_code:401] http_request=map[headers:map[connection:close content-length:93 content-type:application/x-www-form-urlencoded x-forwarded-proto:https] host:localhost:9001 method:POST path:/oauth2/introspect query:<nil> remote:172.19.0.1:47582 scheme:http] service_name=Ory Hydra service_version=v1.11.3
This is in hydra logs.
h
It says it in the log, that the token is expired?
l
oh right, for this req it was expired but for even new tokens it wasn't working.
qs.stringify(body)
worked somehow, pretty weird that sdk didn't work initially