Thread View: mozilla.dev.mdn
1 messages
1 total messages
Started by gilbertterrance70
Wed, 05 Aug 2020 04:08
Re: Capability urls for accounts
Author: gilbertterrance70
Date: Wed, 05 Aug 2020 04:08
Date: Wed, 05 Aug 2020 04:08
85 lines
3902 bytes
3902 bytes
On Thursday, August 18, 2016 at 4:43:48 PM UTC-4, David Bruant wrote: > Hi, > > > For context, MDN is removing the Persona login option [1], leaving MDN > in a somewhat uncomfortable situation that logging to MDN now has to go > through github which generates a bit of frustration to some people. > > > I'd like to discuss here an option to get out of the github-auth-only > situation. > > One solution could be to use capability urls [2] as a form of login. The > way it would work would be that someone who creates an account provides > an email address (as they do today) and on account creation, the user > would receive a confirmation email (as it does today, I imagine? It's > been a long time I created my account). This email would contain the > capability url for account sign in. Something along the lines of: > > ------------------ > > Thank you for creating an account, David Bruant! > > > If you want to login and start editing MDN, please go to: > > https://developer.mozilla.org/login?cap=86700D44NND4KNF5O5NFP5K > > > If you received this email by mistake, blablabla... > > ------------------ > > > The backend knows that 86700D44NND4KNF5O5NFP5K is associated with > bruant.d@gmail.com, so it knows which account this associates to. > > What to do with this URL can be open, but one idea would be to login the > user (create cookies, a Django session or whatever you're doing today) > and then 302 redirect to https://developer.mozilla.org/ (but now there > are cookies and stuff, so it's all good). > > > # Benefits > > > * Easy (?) to implement > > * The URL can be bookmarked (!), so logging in to MDN takes literally > one click > > * Independance from identity providers (which can be seen as a downside) > > * Creating an account on MDN only requires an email. > > > # Security properties > > > * The capability URL is meant to be unguessable. If the random part is > long enough it's as good as a random password [3] > > Securing the MDN user account boils down to securing the email account > (which the user already has to do in both the persona and github case), > so this solution is not asking more of them. > > * People do not choose a password (so they avoid the password reuse > issue and dictionary attacks) > > * People can go to MDN and ask for another capability URL. It revokes > the previous one if it's been compromised or lost. > > > Of course, this email is only intended to be the beginning of a > discussion. I'm happy to answer any question or concern. > > > David > > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1273028 > > [2] https://w3ctag.github.io/capability-urls/ > > [3] https://twitter.com/jessysaurusrex/status/766340481101934592
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads