Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alternate authentication providers #57

Open
ldanielburr opened this issue Aug 23, 2016 · 0 comments
Open

Support alternate authentication providers #57

ldanielburr opened this issue Aug 23, 2016 · 0 comments

Comments

@ldanielburr
Copy link

ldanielburr commented Aug 23, 2016

Currently, Mantissa depends upon axiom.userbase.LoginSystem for user authentication and registration. LoginSystem implements IRealm and ICredentialsChecker, using LoginAccount objects to verify the user's credentials.

It would be great if Mantissa could allow users to register and authenticate via third-party auth providers, e.g., Facebook, Stack Exchange, GitHub, et cetera. This could be made possible by allowing an application developer to supply their own IRealm and ICredentialsChecker implementations to Mantissa as part of the site configuration.

It probably would require changing LoginAccount to deal with, for example, OAuth tokens instead of plain-text passwords, which would break every Mantissa app, so maybe specifying some kind of ILoginAccount interface, and allowing that implementation to be pluggable would be necessary to maintain compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant