Skip to content

Fix Device Code session propagation and OIDC claims - #1108

Open
dairoca90 wants to merge 4 commits into
OpenIdentityPlatform:masterfrom
dairoca90:debug-16.1.2
Open

Fix Device Code session propagation and OIDC claims#1108
dairoca90 wants to merge 4 commits into
OpenIdentityPlatform:masterfrom
dairoca90:debug-16.1.2

Conversation

@dairoca90

Copy link
Copy Markdown
Contributor

Fix Device Code session propagation and OIDC claims

Description

This PR updates the Device Code flow to improve session propagation and OpenID Connect claim handling.

Changes

  • Propagated the user Session so it is available in the Access Token Modifier Script. Previously, the session was not exposed to the script.
  • Added support for including the acr and amr values in Device Code tokens.
  • Updated the Device Code response so that when the openid scope is requested, the OIDC-related information is included when a valid user session exists at the time the Device Code is generated.
  • Ensured the session information is preserved throughout the Device Code flow so it can be consumed by downstream token customization logic.

Result

The Device Code flow now provides the necessary session context for token modification and correctly propagates acr and amr authentication information when applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant