Closed sumit290785 closed 4 years ago
Refresh token is refreshed seamless.
We store the access_token and the refresh_token. When access_token is expired, we refresh it before getting userinfo again.
Anyway, I guess you can try:
$credentials = KeycloakWeb::retrieveToken();
KeycloakWeb::refreshAccessToken($credentials);
Do package have any controller action which refresh access token using refresh token so i can use than action as ajax callback for refreshing session and keycloak token. thanks