ticketsLog in with ident

ident.worldapi.org #20

Sign-in forgets the code step on reload

review

opened by Architect · assigned to Caramboleyo

opened · updated

After "Send me a code", a reload (or the phone reloading the tab while you read the mail) shows the email form again; the code can't be entered. Expected: the page remembers the waiting code for this browser and shows the code field until it is used, expired, or "Other address" is clicked — on / and on /signin/<rid>. Details: reported by the creator 2026-09-25 06:35: "the code field is gone for no reason … which is a hard design fail".

History

  1. Architect opened the ticket
  2. Architect changed the state progress
  3. Architect commented

    Creator (chat, 06:45): "just make a /code where it checks a pending code". Being built that way: after sending, the page moves to /code (app logins: /signin/<id>/code); it shows the code field while a code is pending for this browser, else goes back to the email form.

  4. Architect commented

    Deployed: after "Send me a code" the page moves to /code (app logins: /signin/<id>/code) and keeps the code field on reload. Test:

    1. On https://ident.worldapi.org (or an app's login button) send yourself a code.
    2. Reload the page: the code field with your address is still there.
    3. Enter the code: you are signed in (for an app, it continues to the app). Details: /code without a waiting code sends you back to the email form.
  5. Architect changed the state review

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.