News for hackers. Stuff that matters.
Re:JMAP: A modern, open email protocol by evilotto on Monday May 06, 2019 @03:53PM (#19843111)
The other part that is really lacking is security, in particular 2fa. The proposed standard says that obtaining credentials is out of scope, which means it will remain in the realm of vendor-specific implementations.
Re:JMAP: A modern, open email protocol by tracker1 on Tuesday May 07, 2019 @09:28AM (#19849108)
I'd guess that you'd get a token that gets added as an `Authorization: bearer <token>` header in practice for most implementations. The specifics of the auth and token itself may vary though.

Edit:

Though having a dedicated /auth/login path that takes a JSON post with {username,passphrase,2facode,...} could be readily defined where any of the above parameters are optional. The response being a token that's used as the previously mentioned authorization header.