Customizing the Subject in device flow authorization #504
Unanswered
Bra1nFartz
asked this question in
IdentityServer
Replies: 1 comment 2 replies
-
|
What parts of the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
We've hit a scenario where the user approving a device flow is not the intended subject of the resulting tokens — think delegated
authorization, kiosk provisioning, or an administrator approving a device on behalf of another user.
Currently our workaround is replicating the
DefaultDeviceFlowInteractionService, but it's fragile — if the internal implementation changes (new fields, consent tracking, etc.), our code won't pick it up.Is there a recommended way to handle this that we're missing? If not, would there be interest in an extension point — e.g., an overload that accepts a
ClaimsPrincipal, or making the subject resolution virtual/overridable?Happy to contribute a PR if there's appetite for it.
Beta Was this translation helpful? Give feedback.
All reactions