3 ms·
How about using browser-supported auth mechanisms instead of manually reimplementing auth using cookies? There is HTTP basic auth, or TLS client certs and proba
by pabs3 4y ago
How about using browser-supported auth mechanisms instead of manually reimplementing auth using cookies? There is HTTP basic auth, or TLS client certs and probably more.
- briHass 4y agoBasic Auth with digests has some issues, but both that and client certs mostly fail because of poor browser implementation. Client certs would really be ideal if browsers handled them better and sync'd the certs between devices (like bookmarks), but I guess that still wouldn't solve the signing in from a new/different (non-synced) device.
- pabs3 4y agoYou could offer one-time rescue codes (like the ones used when people have TOTP auth) to let people add new certs on new devices.
- JoshTriplett 4y agoBecause both of them work terribly. I've used basic auth in production. It has terrible user experience, and unfixable issues and limitations. I wish browser-integrated logins had taken off, with Persona, but that was unfortunately abandoned.
- pabs3 4y agoWhy are browser vendors so terrible at auth stuff :(