private removeCodeFromUrl()

in src/auth/AuthorizationCodeWithPKCEStrategy.ts [87:93]


    private removeCodeFromUrl() {
        const url = new URL(window.location.href);
        url.searchParams.delete("code");

        const newUrl = url.search ? url.href : url.href.replace('?', '');
        window.history.replaceState({}, document.title, newUrl);
    }