Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-factor authentication button not work #99

Open
syuxs7854384 opened this issue Oct 19, 2024 · 3 comments
Open

Two-factor authentication button not work #99

syuxs7854384 opened this issue Oct 19, 2024 · 3 comments

Comments

@syuxs7854384
Copy link

Two-factor authentication button not work

Error code 400

{error: "TokenRequired", message: "confirmation token required"}

@AverageHelper
Copy link

Getting this as well from bsky.app, just after having verified my email. Not sure if bsky.app needs to request a confirmation token from the user to provide in the updateEmail request, or if the server needs to calm down about how recently a valid email token was received.

Personally, it makes sense to run the email-verification flow again when activating email 2FA, at least as a sanity test that the flow works, else the user may be locked out of their account inadvertently.

@dillfrescott
Copy link

getting this too on my new PDS. I will wait a few hours and try again

@dandln
Copy link

dandln commented Nov 4, 2024

Having the same issue. Here's the full output from the Firefox console in case it helps:

Uncaught (in promise) Error: confirmation token required
    u types.ts:126
    a updateEmail.ts:46
    toKnownErr updateEmail.ts:54
    updateEmail index.ts:1236
    promise callback*updateEmail index.ts:1235
    o Email2FAToggle.tsx:20
    Babel 4
    s Email2FAToggle.tsx:42
    e Button.tsx:154
    Babel 4
    P Button.tsx:155
    onClick PressResponder.js:314
    React 11
    r helpers.ts:100
    ls trycatch.ts:233
    Ta dom.ts:107
    React 5
    u index.js:20
    run renderApplication.js:24
    run index.js:34
    value index.js:72
    i registerRootComponent.tsx:36
    6760 index.web.js:8
    Webpack 5
Caused by: Error: confirmation token required
    u types.ts:126
    call xrpc-client.ts:105
    updateEmail index.ts:1234
    o Email2FAToggle.tsx:20
    Babel 4
    s Email2FAToggle.tsx:42
    e Button.tsx:154
    Babel 4
    P Button.tsx:155
    onClick PressResponder.js:314
    React 11
    r helpers.ts:100
    ls trycatch.ts:233
    Ta dom.ts:107
    React 5
    u index.js:20
    run renderApplication.js:24
    run index.js:34
    value index.js:72
    i registerRootComponent.tsx:36
    6760 index.web.js:8
    Webpack 5
types.ts:126:4

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

No branches or pull requests

4 participants