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

SAML/SSO support #31

Closed
ghost opened this issue Apr 28, 2020 · 6 comments
Closed

SAML/SSO support #31

ghost opened this issue Apr 28, 2020 · 6 comments
Labels
backend Related to Python enhancement New feature or request ui Related to user interface and QML

Comments

@ghost
Copy link

ghost commented Apr 28, 2020

Greetings.
Is this possible to support SAML/SSO?
https://matrix.org/docs/spec/client_server/r0.5.0#sso-client-login

@mirukana
Copy link
Owner

mirukana commented Apr 28, 2020

SSO itself shouldn't be hard to implement (open the URL in an browser, redirect to a local python http server to get the login token?), but first the sign in UI will have to change to allow for more options than normal user/password login:

  • Show an interface where the user can either enter a server URL or choose from a list of popular servers, e.g. this one
  • Send a request to chosen server to know which login methods it offers
  • Show an appropriate interface depending on the method, e.g. the current user/password form or a button to begin the SSO process

I might take a look at this after the next release.

@mirukana mirukana added backend Related to Python enhancement New feature or request ui Related to user interface and QML labels Apr 28, 2020
@ghost
Copy link
Author

ghost commented Jul 7, 2020

Greetings,
Any progress concerning this issue?

@mirukana
Copy link
Owner

mirukana commented Jul 7, 2020

I'm finishing the work on device management and basic E2E verification, then it will be the next big thing I'll be focusing on, unless cross-signing support in matrix-nio is out by then (improbable).

@mirukana
Copy link
Owner

You can now test SSO in the dev branch, it will officially land in the next release. Note that the UI isn't complete, since the server list has yet to be implemented.

@mirukana
Copy link
Owner

Also until matrix-nio/matrix-nio#194 gets merged, you need to install this nio branch.

@mirukana
Copy link
Owner

All done in 0.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to Python enhancement New feature or request ui Related to user interface and QML
Projects
None yet
Development

No branches or pull requests

1 participant