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

Add SSO functionality #282

Closed
wants to merge 7 commits into from
Closed

Add SSO functionality #282

wants to merge 7 commits into from

Conversation

tawfiek
Copy link
Contributor

@tawfiek tawfiek commented Mar 18, 2021

No description provided.

@tawfiek tawfiek closed this Mar 18, 2021
@tawfiek tawfiek reopened this Mar 18, 2021
@tawfiek tawfiek closed this Mar 18, 2021
@tawfiek tawfiek reopened this Mar 19, 2021
@tawfiek
Copy link
Contributor Author

tawfiek commented Mar 19, 2021

#93

@tawfiek tawfiek marked this pull request as draft March 19, 2021 11:26
@tawfiek tawfiek changed the title [Draft] Add SSO functionality Add SSO functionality Mar 19, 2021
]),
t.if(
(vm) => vm.error,
t.createTemplate((t) =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heads up I've removed createTemplate in #280, you can now just do t.if(vm => vm.condition, t => t.div())

tawfiek added 5 commits March 19, 2021 15:35
- Use SessionLoadView inside LoginViewModal to load login flows
- add new LoadStatus  in session container to indecates in login flows loaded
- use the new state to show a consistent label into  sessioLoadView
* @param {String} homeServer - the homeserver url
*/
_requestLoginFlows (homeServer) {
this._loadViewModel = this.track(new SessionLoadViewModel({
Copy link
Contributor

@bwindels bwindels Mar 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loading the login flows should not set the load view model. The load view model is for once you are logging in, it show "fetching your conversations from the server", etc ... It would be nice to have a spinner though, so you may want to set a queryingHomeserver flag or something.

@bwindels bwindels closed this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants