Skip to content

X/Discord/Telegram/Email Login QA - #110

Merged
eldenpark merged 42 commits into
mainfrom
chihun/social-login-qa
Dec 15, 2025
Merged

X/Discord/Telegram/Email Login QA#110
eldenpark merged 42 commits into
mainfrom
chihun/social-login-qa

Conversation

@chihunmanse

Copy link
Copy Markdown
Contributor

Pull Request

Thank you for raising a Pull Request. Please follow the instruction.

  • I’ve read CONTRIBUTING.md and followed the guidelines.

Summary

Links (Issue References, etc, if there's any)

}

if (method !== "google" && method !== "x" && method !== "discord") {
if (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best time to define a function

isSupportedVendorType()

setSigningInState({ status: "signing-in" });
await okoWallet.signIn(method as "google" | "x" | "discord");
await okoWallet.signIn(
method as "google" | "x" | "discord" | "telegram" | "email",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the function above passes, this should be assumed.

WORKDIR /home/node/key_share_node/key_share_node/server

CMD [ "yarn", "start" ]
CMD [ "yarn", "start" ] No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

} catch (error) {
popupWindow.close();
throw new Error(
`Failed to redirect popup to email login URL: ${error instanceof Error ? error.message : String(error)}`,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too long line


const popupOrigin = new URL(this.sdkEndpoint).origin;

// Wait for nonce to be set, then redirect popup to actual email login URL

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function I remember shouldn't use async method. Safari issue. Is nonce necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Popup opens immediately (about:blank) to bypass Safari blocker, then waits for nonce setup before redirect. Nonce is optional for Auth0 but added for security.

VITE_AMPLITUDE_API_KEY=
VITE_IPFS_GATEWAY_URL= No newline at end of file
VITE_IPFS_GATEWAY_URL=
VITE_TELEGRAM_BOT_NAME=telegram_bot_name No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

@eldenpark

Copy link
Copy Markdown
Contributor

@chihunmanse Is this review ready?

@eldenpark
eldenpark merged commit c9e8ed4 into main Dec 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants