- How to configure expire time of access token when we create client through REST Api.
- How to get refresh token when we call /oauth2/token Api.
I think you can configure the duration of the access token in the configuration file for your testing environment.
See this https://www.ory.sh/hydra/docs/reference/configuration/ and look for “Configures time to live”
Also maybe the
remember for parameter at the consent stage?
Let me know if that helped.