fix(oauth): Reject device code requests from unauthorised clients #2110
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!2110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mmaudet/continuwuity:fix/oauth-device-grant-type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request fixes OAuth2 clients incorrectly being allowed to initiate the device authorization flow without registering the appropriate grant type.
Fixes: #2109
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
This doesn't need two changelogs, otherwise looks fine to me. Also please use the PR template next time
I have updated your pull request description to follow the template. Please check off the checkboxes at your earliest convenience so that this PR is eligible for merge.
474e37b03db23059734eDone : the two changelog fragments are now a single changelog.d/2110.bugfix.md, renamed to the {pull_request_number}.{type} format documented in CONTRIBUTING and with the usual attribution line. Checklist is filled in.
And I Ran prek --all-files, cargo check --workspace --features full, cargo clippy --workspace --features full -- -D warnings and cargo test --workspace --features full locally — all clean. CI is green on
b2305973.Thank you for your hospitality and understanding!