Skip to content

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

Open
@dcp3450

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?

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