Skip to content

Query parameters aren't cleared after login with GitHub #351

@ots22

Description

@ots22

See

.finally(() => {
// Clearing the search parameters triggers a
// reload, and then 'navigate' is never called.
//
// window.location.search = "";
navigate(referrer);
});

Result is a (spent) OAuth code and state polluting the browser window location.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions