Replies: 2 comments
-
Same understanding here, it is not clear by docs! |
Beta Was this translation helpful? Give feedback.
-
This is not the case, if the access token expires it can be refreshed by using the refresh token to obtain a new access token. This can be done by calling The reason why |
Beta Was this translation helpful? Give feedback.
-
Hello,
I try to configure my reactJS app with keycloak. I found this very good tutorial Youtube Tutorial and programmed it accordingly.
But in the video and also nowhere here on github or on the official homepage it is described why I need this minValidity.
In the source code I found this information:
If the token expires within minValidity seconds, the token is refreshed.
In my understanding, the number should be much larger than 5. For example, if the access token is still valid for 6 seconds, it will not be updated with
minValidity 5
and after 6 seconds the session is over and the user has to log in again.How does this relate to the access token. Why is the value 5 by default and not some other value. Can someone please explain this to me. Thanks
Beta Was this translation helpful? Give feedback.
All reactions