-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Remove enum for POST /login
type
definition
#1776
Conversation
Since the enum is not exhaustive, improve the description of the property instead. Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
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 agree with the motion (the list is certainly open-ended here) but m.login.sso
is probably a poor example still.
data/api/client-server/login.yaml
Outdated
This must be a type returned in one of the flows of the | ||
response of the [`GET /login`](/client-server-api/#get_matrixclientv3login) | ||
endpoint, like `m.login.password`, `m.login.token` or | ||
`m.login.sso`. |
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 might be confusing something but I think m.login.sso
is never to be found in POST /login
, clients should redirect to a dedicated endpoint instead. Am I smoking stuff?
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.
Yes, I think that's right.
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.
Indeed, I got influenced by the issue without thinking. It is fixed now.
Signed-off-by: Kévin Commaille <[email protected]>
Since the enum is not exhaustive, improve the description of the property instead.
Fixes #825.
Preview: https://pr1776--matrix-spec-previews.netlify.app