I am using the Easy Auth feature of Azure App Service and I am trying to refresh a token with the Google provider.
I followed the Chris Gillum article and correctly called .auth/login/google
with the access_type=offline
parameter. Then I called .auth/refresh
which return me a 200 OK with a new authenticationToken
. However, when I check the claims of this ZUMO token by calling .auth/me
, I can see that the Google token is in fact not refreshed despite the previous successful response. The exp
claims (corresponding to Expiration Time) is the same as the previous token.
I tried several scenario : refresh the token immediately after receiving it, 10 minutes before the expiration time and after the expiration time (when the token is no longer valid) but in every scenario, Easy Auth return me a new ZUMO token but the Google token associated is always the same.
Is it normal for the .auth/refresh
endpoint to always return the same token (same exp
claims) with the Google provider ?