Get fresh access token from oauth (keycloak) ?

How can i make better auth fetch a new access token from my provider if the token expires ?
2 Replies
Ping
Ping4w ago
No description
kaizen
kaizenOP4w ago
Thank you so much for this. Do you think it would make any sense to introduce a config that would constantly refresh the token e.g
refreshInterval: 10m <- 10 mins could also be ms
refreshInterval: 10m <- 10 mins could also be ms
if this is okay i would start working on pr

Did you find this page helpful?