Skip to content

Commit

Permalink
Refactor auth process
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalcom committed Feb 28, 2024
1 parent d139579 commit 188376c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ function AuthCallbackPage() {
oidcToken: accessToken,
});

console.log('publicKeyFak......', publicKeyFak);

const callback = isRecovery ? onSignIn : onCreateAccount;
await callback({
oidcKeypair,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ function CreateAccount() {
setInFlight(false);
}
}, [searchParams]);

useEffect(() => {
const email = searchParams.get('email');
const username = searchParams.get('accountId');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function VerifyEmailPage() {
});

try {
console.log('searchParams ', searchParams.toString());
await sendSignInLinkToEmail(firebaseAuth, email as string, {
url: `${window.location.origin}${basePath ? `/${basePath}` : ''}/auth-callback?${searchParams.toString()}`,
handleCodeInApp: true,
Expand Down

0 comments on commit 188376c

Please sign in to comment.