Skip to content

Device Flow Inconsistent Behavior #4571

@nabokihms

Description

@nabokihms

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

2.44.0

Storage Type

In-memory

Installation Type

Other (specify below)

Expected Behavior

No errors

Actual Behavior

Two issues:

  1. 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")

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions