Skip to content

feat: add idTokenDroppedOnIssueWithoutOpenid flag to Service - #171

Open
meysam wants to merge 1 commit into
masterfrom
fix/id-token-dropped-on-issue-without-openid
Open

feat: add idTokenDroppedOnIssueWithoutOpenid flag to Service#171
meysam wants to merge 1 commit into
masterfrom
fix/id-token-dropped-on-issue-without-openid

Conversation

@meysam

@meysam meysam commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Add a service flag indicating whether to refrain from issuing an ID token when the "openid" scope has been removed from the scopes to be granted by the "scopes" request parameter of the /auth/authorization/issue API.

The flag defaults to false, which preserves the existing behavior of issuing an ID token based on the scopes of the original authorization request. Flows whose response_type contains "id_token" are not affected, because the response type itself requires an ID token.

Bump serialVersionUID and document the new methods in the changelogs.

Add a service flag indicating whether to refrain from issuing an ID token
when the "openid" scope has been removed from the scopes to be granted by
the "scopes" request parameter of the /auth/authorization/issue API.

The flag defaults to false, which preserves the existing behavior of
issuing an ID token based on the scopes of the original authorization
request. Flows whose response_type contains "id_token" are not affected,
because the response type itself requires an ID token.

Bump serialVersionUID and document the new methods in the changelogs.
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