-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
Support for m.login.token
#2014
Merged
Merged
Commits on Dec 3, 2021
-
Add GOPATH to PATH in find-lint.sh.
The user doesn't necessarily have it in PATH.
Configuration menu - View commit details
-
Copy full SHA for 8e085b1 - Browse repository at this point
Copy the full SHA 8e085b1View commit details -
Refactor LoginTypePassword and Type to support m.login.token and m.lo…
…gin.sso. For login token: * m.login.token will require deleting the token after completeAuth has generated an access token, so a cleanup function is returned by Type.Login. * Allowing different login types will require parsing the /login body twice: first to extract the "type" and then the type-specific parsing. Thus, we will have to buffer the request JSON in /login, like UserInteractive already does. For SSO: * NewUserInteractive will have to also use GetAccountByLocalpart. It makes more sense to just pass a (narrowed-down) accountDB interface to it than adding more function pointers. Code quality: * Passing around (and down-casting) interface{} for login request types has drawbacks in terms of type-safety, and no inherent benefits. We always decode JSON anyway. Hence renaming to Type.LoginFromJSON. Code that directly uses LoginTypePassword with parsed data can still use Login. * Removed a TODO for SSO. This is already tracked in matrix-org#1297. * httputil.UnmarshalJSON is useful because it returns a JSONResponse. This change is intended to have no functional changes.
Configuration menu - View commit details
-
Copy full SHA for 6714983 - Browse repository at this point
Copy the full SHA 6714983View commit details -
Support login tokens in User API.
This adds full lifecycle functions for login tokens: create, query, delete.
Configuration menu - View commit details
-
Copy full SHA for 53b5888 - Browse repository at this point
Copy the full SHA 53b5888View commit details -
Configuration menu - View commit details
-
Copy full SHA for d124de7 - Browse repository at this point
Copy the full SHA d124de7View commit details
Commits on Dec 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a7d3584 - Browse repository at this point
Copy the full SHA a7d3584View commit details
Commits on Dec 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 531c805 - Browse repository at this point
Copy the full SHA 531c805View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1acaae6 - Browse repository at this point
Copy the full SHA 1acaae6View commit details -
Return event NID from
StoreEvent
, match PSQL vs SQLite behaviour, t……weak backfill persistence (matrix-org#2071)
Configuration menu - View commit details
-
Copy full SHA for d40fefe - Browse repository at this point
Copy the full SHA d40fefeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1632d28 - Browse repository at this point
Copy the full SHA 1632d28View commit details
Commits on Dec 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4c24e15 - Browse repository at this point
Copy the full SHA 4c24e15View commit details
Commits on Jan 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3292fb - Browse repository at this point
Copy the full SHA b3292fbView commit details
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d7ca02d - Browse repository at this point
Copy the full SHA d7ca02dView commit details
Commits on Feb 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0ab352b - Browse repository at this point
Copy the full SHA 0ab352bView commit details
Commits on Feb 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c8a55d - Browse repository at this point
Copy the full SHA 8c8a55dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.