Skip to content

revokeTokens and removeUser doesn't deauthenticate the user. #751

Description

@dcp3450

When the user logs out I call

auth.revokeTokens();
auth.removeUser();

But the user can still access a protected route and when I log

const auth = useAuth();
console.log(auth);

Auth shows user info and that they are still authenticated, including id_token

Is this a bug or is there a correct/better way to remove authentication?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions