-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
type: bugA general bugA general bug
Description
Describe the bug
Once I've granted access to a client id via device authorization grant to one device, any furthur devices using the same client id will still be approved even when the consent page is canceled.
To Reproduce
Steps to reproduce the behavior.
- Trigger a device authentication with client=123
- When prompted for Device Consent,
- Specify the granted scopes and click "Approve"
- Trigger a device authentication with client=123 but on a new device.
- When prompted for Device Consent, the specified granted scope is greyed out, but both Buttons "Approve" and Cancel" appear. Click "Cancel"
- The second device still gets an access token
Expected behavior
I was hoping that the second device would get a "access_denied"
I demoed this behavior to @jgrandja at spring one yesterday. Thanks Joe
Workaround
I've been able to get my acceptance tests to get the correct behavior, so I believe that with a custom consent page I can get the behavior expected by setting an empty scope parameter.
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug