Skip Navigation

TOTP 2FA Issues

Salutations. After lurking around and reading posts for a few weeks, I have just created an account on this instance. Mostly, the experience has been good, but I am having one major issue: Shaka when the walls fell with two-factor authentication. When I press the button in my account settings, I receive the error couldnt_generate_totp. When looking in the Javascript console, I found the following occurred every time I pressed the button:

POST https://startrek.website/api/v3/user/totp/generate 400 (Bad Request)

I received a 404 when navigating to that URL. Is the API for generating TOTP keys not set up on this server? I am concerned about any count where I am unable to properly set up two-factor authentication, and I would be pleased if this difficulty could be rectified. Anyhow, glory to the houses of all involved in maintaining this server as an alternative bastion of Star Trek discussion on the internet.

4
4 comments
  • This has been on our todo list for a while, but turned into a harder nut to crack than I initially assumed. Thanks for the additional info. I'll comment here and make a new post when this gets sorted.

    EDIT: It's sorted

    2
  • We've had 2FA disabled, because it wasn't working properly at one point. This is a good prompt to look into getting it up and running again, so thanks for bringing it to our attention!

    2
  • 2FA should be working now!

    2