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 XMPP Authentification - XEP-0070 #687

Closed
tigre-bleu opened this issue Aug 1, 2016 · 4 comments
Closed

Support XMPP Authentification - XEP-0070 #687

tigre-bleu opened this issue Aug 1, 2016 · 4 comments

Comments

@tigre-bleu
Copy link

It would be nice if nextcloud support XEP-0070: XMPP Authentification.
http://xmpp.org/extensions/xep-0070.html

This would allow to authenticate the connection to nextcloud via any XMPP instant messenger. A plugin for wordpress already exists: https://wordpress.org/plugins/xmpp-auth/

@tigre-bleu
Copy link
Author

I would imagine a workflow like this in order to give the choice between XMPP and Password authentification:

Add a Jabber/XMPP authentification admin setting to enable/disable the function and configure the auth server.

Login page is not changed when a user first arrives.
Then user enters the user name:

  • If the text does not look like a jid, keep the page as it is with the password field.
  • If the text does look like a jid (something@something.xxx): Split the password field from the username field and insert something in between a button for XEP-0070 authentification like this:

[user@domain.com] //Text Field

Authenticate with

[ InstantMessage ] //Button

Or

[password] //Text Field

@Bugsbane
Copy link
Member

Would xmpp based authentication not be done as a plugin/app as, presumably, LDAP authentication is done now?

If so then it seems that we're not just designing the ui for xmpp based login, but for how we handle having more than one authentication method people can use to authenticate. If that's the case, then we should also think about what ui we present if we have more than 2 login methods available later, so it remains consistent.

I'd recommend having text like "Log in using:" and then buttons underneath eg "Jabber/XMPP" and "Federated Cloud ID" etc. Clicking one reveals fields requesting the appropriate info for that authentication method. This would only show where more than one authentication was enabled, otherwise it goes straight to requesting the info for the enabled method.

If we go this route, I'm happy to help with any icons needed for the buttons.

@MorrisJobke
Copy link
Member

Would xmpp based authentication not be done as a plugin/app as, presumably, LDAP authentication is done now?

Yes. This should be done as app. Check out all the user_* apps, that provide user backend. user_saml for example.

@poVoq
Copy link

poVoq commented Jun 29, 2017

Has anyone started working on this? Would be a cool option for allowing people to use a 3rd party XMPP server for logging in and then using federated chat via the XMPP chat app that is already available (using an external XMPP server).

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

No branches or pull requests

5 participants