Closed friism closed 10 years ago
Humm interesting to think about this – is it describing the client flow or the API behavior?
The API behavior is a bit more complicated to make in two step because http is stateless/etc. So from our perspective the api is "POST /apps"; it's not really going to be a two step process, but the end result is similar:
From the client perspective then there's not a explicit API to request a SMS 2fa code.
@friism Can you explain the advantages of this over what we have today? I think of today's process as two step with just as smooth of a user experience.
2fa:enable
: a QR code is displayed and scan.@brandur I think the problem I have with doing it in one go is that I'm not told whether I fucked up the password or whether I fucked up the 2fa code, but maybe that was adressed some other place?
Also this is not the enable flow, but the normal login flow.
@friism Oh doh, I see now. I think the error message added in heroku/heroku-two-factor#40 will help improve clarity here a lot. Thoughts?
Cool! Closing.
Woot! Thanks Friis.