Comments (6)
Also see https://matrix.org/docs/guides/sso-for-client-developers
from hydrogen-web.
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.
Probably best to raise and discuss feature requests in #hydrogen:matrix.org come to think of it.
from hydrogen-web.
As discussed with @bwindels
He suggest :
Adding a method
startLogin(server)
toSessionContainer
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 currentLoginView
is the root of the application which takes thehomeserver
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 currentLoginView
called for exampleClientConfig
that takeshomeserver
as a user input gets the supported methods and renderLoginView
shows all supported login options just like in Element web.
ClientConfig
homeserver field
set state
LoginView
from hydrogen-web.
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.
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)
- Expose all viewModels from web to SDK lib.ts to be able to override the chat display HOT 1
- Implement message search in Hydrogen
- Novice nerd nonsense
- Empty JSON response disables sync until Hydrogen is manually reloaded HOT 1
- Fix Right-To-Left text
- FilteredMap does no always emit when applying a new filter
- Fix styling of errors shown in timeline
- Make it possible to disable uploading OTK when starting Hydrogen using an access-token
- Something went wrong: readTxn failed.
- Please support swipe to right to go back to roomlist
- How do I change the language? HOT 1
- UI to restore dehydrated device is broken
- "n.body is not iterable" for some messages.
- olm-3.2.14.tgz Doesn't seem to exist HOT 6
- Please allow to paste images HOT 1
- The message sent by the web end cannot be decrypted by the Android client
- Implement a ReadOnlyRoomViewModel for SDK usages
- Can't select second room if I have multiple ones named the same
- Reply links don't open a new tab/window HOT 2
- more compact box for nick event HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen-web.