[Keycloak Error] User cannot be authenticated
Closed this issue · 2 comments
gorkagv commented
The hasExpired function (KeycloakAccessToken) was returning true if $exp was greater than time(). The hasExpired function only should returning true when the $exp is less than or equal time(), that is, when the token has expired.
lucca257 commented
i`m having the same problem
mariovalney commented
Hi!
I'm really sorry for the inconvenience and thanks for your PR. It's already fixed in 2.3.1.
Note: Even with this problem the auth process should works, but will always refresh the access token.