-
-
Notifications
You must be signed in to change notification settings - Fork 116
Reorganize client authentication section to separate the legacy API and the new OAuth 2.0 API #2141
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
base: main
Are you sure you want to change the base?
Conversation
Since account locking and suspension are authentication API agnostic, this is a pre-requisite to adding the new OAuth 2.0-based API. This also splits the endpoints that where all included in the registration OpenAPI data, to separate them cleanly in the spec, and avoid having deactivation show before registration. Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
cf45f4d
to
c68a87c
Compare
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
@@ -0,0 +1 @@ | |||
Add the OAuth 2.0 based authentication API, as per [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) and its sub-proposals. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess is that we will use this changelog for most of the PRs related to the OAuth 2.0 API.
@@ -764,7 +766,7 @@ auth by offering a stage with only the `m.login.dummy` auth type, but they | |||
must still give a 401 response to requests with no auth data. | |||
{{% /boxes/note %}} | |||
|
|||
#### Example | |||
**Example** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I downgraded this to a non-heading, because I feel like it doesn't need to appear in the ToC.
@@ -1195,7 +1197,7 @@ with just the session ID: | |||
} | |||
``` | |||
|
|||
##### Example | |||
**Example** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, I downgraded this to a non-heading, because I feel like it doesn't need to appear in the ToC.
This is supposed to be a PR on which other PRs that add bits of the OAuth 2.0 API will be based. As such it separates the sub-sections that are specific to the legacy API in its own section, and it adds an empty "OAuth 2.0 API" section.
Since account locking and suspension are authentication API agnostic, this also adds a new "Account moderation" section.
This also splits the "Account registration and management" section and its endpoints to separate them cleanly in the spec, for 2 reasons:
The plan for the future is:
Pull Request Checklist
Preview: https://pr2141--matrix-spec-previews.netlify.app