seanmonstar
Joined 16 years ago
Joined 16 years ago
This is already the case. For browsers that use the shim, the certificate is stored in localStorage on the login.persona.org domain, and then given to the website you're trying to login to.
The auth and provision routes need to be HTML pages that authenticate you however you want, and then sign a certificate with your key that you publish the .well-known file.
Here's how we did it for Gmail: https://github.com/mozilla/browserid-sideshow/blob/master/bi...
https://developer.mozilla.org/en-US/docs/Mozilla/Persona/Why...
As soon as Gmail (or any id provider) implements a well-known file, the verifier will immediately use that instead.
And the script that does all this _could_ be run on your own server. The only reason we don't quite yet tell people to do that is to be absolutely sure the verifier is correct in every step. It's harder to get everyone to upgrade their own server, so while in beta, we offer the verifier.