Preflight Checklist
Version
2.44.0
Storage Type
In-memory
Installation Type
Other (specify below)
Expected Behavior
No errors
Actual Behavior
Two issues:
-
If Dex is on the non-root path, the device handler redirects to the constant device callback URI without checking the Dex path
|
q.Set("redirect_uri", "/device/callback") |
-
Other grant handlers fail if the openid scope is not provided (desired behavior), but the device grant handler adds the default (unwanted behavior).
Steps To Reproduce
No response
Additional Information
I have a strong feeling that both issues were already reported.
Configuration
Logs
Preflight Checklist
Version
2.44.0
Storage Type
In-memory
Installation Type
Other (specify below)
Expected Behavior
No errors
Actual Behavior
Two issues:
If Dex is on the non-root path, the device handler redirects to the constant device callback URI without checking the Dex path
dex/server/deviceflowhandlers.go
Line 445 in 5d27abc
Other grant handlers fail if the openid scope is not provided (desired behavior), but the device grant handler adds the default (unwanted behavior).
Steps To Reproduce
No response
Additional Information
I have a strong feeling that both issues were already reported.
Configuration
Logs