Hi everyone! Please help me about Graceful refresh...
# general
e
Hi everyone! Please help me about Graceful refresh token rotation https://www.ory.sh/docs/hydra/guides/graceful-token-refresh#enable-graceful-refresh-token-rotation • What is the default value? • And can I change the setting through the console(dashboard) and not through the ory CLI? Thanks!
h
It is off per default and you can only configure it using the CLI at this time
e
Thanks!
Could you please take a look, I got this error "Error: value for /services/oauth2/config/oauth2/grant/refresh_token/rotation_grace_period must be valid JSON but got: 60s" Command from the docs https://www.ory.sh/docs/hydra/guides/graceful-token-refresh#enable-graceful-refresh-token-rotation
r
Try
Copy code
ory patch oauth2-config --project <project-id> --workspace <workspace-id> \
  --replace '/oauth2/grant/refresh_token/rotation_grace_period="60s"'
e
it works now as expected, thanks!
r
Thanks for confirming. Docs are being updated right now.