Skip to content

Prep - #188

Merged
gianlucam76 merged 3 commits into
projectsveltos:mainfrom
gianlucam76:prep
Sep 13, 2026
Merged

Prep#188
gianlucam76 merged 3 commits into
projectsveltos:mainfrom
gianlucam76:prep

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

No description provided.

mgianluc and others added 3 commits August 25, 2026 17:07
The dashboard's OIDC login hardcodes scope to "openid profile email
offline_access", which requests no specific resource. Providers that
issue single-resource access tokens (e.g. Entra ID) then audience the
token to the dashboard's own app registration, not the target API
server, so a Kubernetes API server that authorizes by audience (e.g.
AKS with Microsoft Entra ID authorization) rejects it with "failed to
validate token".

Add an optional VITE_OIDC_SCOPE (build-time) / OIDC_SCOPE (runtime,
container) setting so a deployer can request a resource-specific scope
instead. Unset, behavior is unchanged.

Fixes projectsveltos#186
@gianlucam76
gianlucam76 merged commit a66e738 into projectsveltos:main Sep 13, 2026
1 check passed
@gianlucam76
gianlucam76 deleted the prep branch September 13, 2026 06:36
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.

2 participants