Skip to content

Send scope in client credentials token request when configured - #47

Merged
rileymcdowell merged 1 commit into
trinodb:mainfrom
rileymcdowell:fix-client-cred-scope
Nov 27, 2026
Merged

rileymcdowell merged 1 commit into
trinodb:mainfrom
rileymcdowell:fix-client-cred-scope

Conversation

@rileymcdowell

Copy link
Copy Markdown
Contributor

The device flow refactor (#27) dropped the scope parameter from the client credentials token request, which breaks IdPs such as Entra ID that need it to issue a usable token. This PR restores it, but only sends it when non-empty since some IdPs (e.g. Keycloak) reject an empty scope.

The device flow refactor (trinodb#27) dropped the scope parameter from the client credentials token request, which breaks IdPs such as Entra ID that need it to issue a usable token. Restore it, but only send it when non-empty since some IdPs (e.g. Keycloak) reject an empty scope.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cla-bot cla-bot Bot added the cla-signed label Nov 27, 2026
@rileymcdowell
rileymcdowell merged commit fe44450 into trinodb:main Nov 27, 2026
3 checks passed
@rileymcdowell
rileymcdowell deleted the fix-client-cred-scope branch November 27, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant