A saved SSO scope list and saved self-signed certificate names replace the defaults instead of being added to them #458
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!458
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/448-sso-scopes-not-doubled"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #448
The configuration binder appends a saved array to a list that already has items.
OidcSsoOptions.Scopesstarted with the three default scopes, so after a restart a saved list read back doubled inGET /api/sso-settings, and a saved list that left outprofileoremailstill requested it. The same held for the self-signed certificate names, whose saved list was appended tolocalhost.Both options now hold only what is saved, and a read-only
Effective…member gives the saved list or the default. The identity provider never received a duplicated scope (the handler's scope set removes duplicates); that was checked by a verifier and the CHANGELOG says what did happen.For code that uses the NuGet packages, the CHANGELOG entry names the two properties whose meaning changed.
Checked by a verifier on a merge with
develop: build with 0 warnings; the whole solution's tests including the Docker-tagged ones pass, apart from the twoSpaFallbackTeststhat need a built console; the OpenAPI snapshot and ENVIRONMENT.md are unchanged.First of a stack of two (CHANGELOG order): this one, then #449.
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK