Skip to content

Support for refactored login token handling#1946

Merged
dbkr merged 1 commit intodevelopfrom
rav/rav/refactor_token_login
Aug 11, 2016
Merged

Support for refactored login token handling#1946
dbkr merged 1 commit intodevelopfrom
rav/rav/refactor_token_login

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented Aug 11, 2016

loginToken handling is now done by the session loader, so we need to pass in
the queryparams to MatrixChat.

Also, MatrixChat no longer automatically reloads the page to drop the
querystring, so we have to do that ourselves (doing it in index.js allows
tokenlogin to be tested).

Corresponds to matrix-org/matrix-react-sdk#406.

loginToken handling is now done by the session loader, so we need to pass in
the queryparams to MatrixChat.

Also, MatrixChat no longer automatically reloads the page to drop the
querystring, so we have to do that ourselves (doing it in index.js allows
tokenlogin to be tested).
richvdh added a commit that referenced this pull request Aug 11, 2016
1. Check that localstorage is correctly updated on successful login (test for
   matrix-org/matrix-react-sdk#404)

2. Check that the saved HS isused for guest registration (test for
   matrix-org/matrix-react-sdk#405)

3. Test loginToken handling (test for
   matrix-org/matrix-react-sdk#406 /
   #1946)
@dbkr dbkr merged commit 5a17d8b into develop Aug 11, 2016
@richvdh richvdh deleted the rav/rav/refactor_token_login branch August 15, 2016 10:20
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