Jonathan
12/09/2024, 9:08 PMBearerToken.refreshToken
was made nullable. Is there any documentation/explanation on this change? I’m also unable to access plugin(Auth).providers
to manually clear tokens.Aleksei Tirman [JB]
12/10/2024, 11:49 AMIt is valid to not return a refreshToken but only an access_token when fetching the token using OAuth2 flowYou can use the following code to remove the current tokens from the storage:
client.authProvider<BearerAuthProvider>()?.clearToken()