You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let user = await authenticator.isAuthenticated(request, {
failureRedirect: "/login",
});
let tokens = await strategy.revokeToken(user.accessToken);
Here revokeToken is being called directly on the strategy. I looked for a way to get the strategy by name through authenticator but it seems there is no way to do that now. Are there plans on adding this API or perhaps calling revokeToken indirectly from the authenticator?
The text was updated successfully, but these errors were encountered:
The documentation here has the following example:
Here
revokeToken
is being called directly on the strategy. I looked for a way to get the strategy by name throughauthenticator
but it seems there is no way to do that now. Are there plans on adding this API or perhaps callingrevokeToken
indirectly from theauthenticator
?The text was updated successfully, but these errors were encountered: