Giter Club home page Giter Club logo

Comments (6)

bwindels avatar bwindels commented on August 23, 2024 1

Also see https://matrix.org/docs/guides/sso-for-client-developers

from hydrogen-web.

bwindels avatar bwindels commented on August 23, 2024

Hey, thanks for filing an issue, but I would rather not have a feature request issue in here for every missing feature that is not on the immediate roadmap, so closing this for now.

from hydrogen-web.

bwindels avatar bwindels commented on August 23, 2024

Probably best to raise and discuss feature requests in #hydrogen:matrix.org come to think of it.

from hydrogen-web.

tawfiek avatar tawfiek commented on August 23, 2024

As discussed with @bwindels

He suggest :

Adding a method startLogin(server) to SessionContainer that returns a Login object to which the response from the server is passed. Depending on the flows, it could have an sso property and password property with objects that have methods for those specific login mechanisms

And for UX and Component structure, we came out with two suggestions :

  • 1st
    Make the current LoginView is the root of the application which takes the homeserver URL Then load buttons of supported login methods that linked with individual view for every method.
LoginView
  homeserver field
  if supported: PasswordLoginView
  if suppoted: SSOLoginView
  • 2nd
    Make another parent component for the current LoginView called for example ClientConfig that takes homeserver as a user input gets the supported methods and render LoginView shows all supported login options just like in Element web.
ClientConfig
    homeserver field
    set state
    LoginView

from hydrogen-web.

bwindels avatar bwindels commented on August 23, 2024

Was a bit overly optimistic of me to mark this as a good-first-issue, the changes are quite involved and there isn't a lot of documentation to work with.

from hydrogen-web.

bwindels avatar bwindels commented on August 23, 2024

I have made some notes on how I expect the feature should work on https://github.com/vector-im/hydrogen-web/blob/master/doc/impl-thoughts/SSO.md

from hydrogen-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.