Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable Talk Email Authentication #2316
We would like to disable "Talk Email Authentication" and only allow users to sign in via Facebook. Is this possible? We tried removing the talk-plugin-local-auth plugin but the Email and Password fields still show in the Login pop up.
Here is the output of
It's possible, however if you have any Admin or Moderator users that will not be using FB for authentication, it might not be advisable, as those users will still need to use email/pwd for login.
The email and password sign in dialog and it's components are a part of talk-plugin-auth, however, because the talk-plugin-facebook-auth depends on some other stuff in talk-plugin-auth, it will not work to simply disable talk-plugin-auth.
If you'd like to remove those, I'd suggest making a local copy of talk-plugin-auth, renaming it to something like "talk-plugin-custom-auth", and removing any of the client components that you'd like to disable. That way you can keep the client/server functionality that talk-plugin-facebook-auth is depending on while customizing the client components.
When working on client side changes to a plugin, it's helpful to note that Talk requires .a rebuild in order to for client plugin changes to be registered!
I'm getting the client-side error below when opening the log in pop up using a custom auth plugin. I get this output even if the contents of my custom plugin are identical to the talk-plugin-auth (I copied contents of plugins/talk-plugin-auth to plugins/talk-plugin-custom-auth and replaced talk-plugin-auth with talk-plugin-custom-auth in plugins.json and rebuilt). Is there something I'm missing here?
Also, is there a way to keep the client-side JS un-minified so it can be debugged in the browser?