refactor: remove additionalScopes from OIDC config push
All checks were successful
CI / build (push) Successful in 1m34s
CI / docker (push) Successful in 56s

Server now hardcodes Logto org scopes in the auth flow, so the
provisioner no longer needs to push them via OIDC config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-10 15:37:53 +02:00
parent 2cda065c06
commit 4341656a5e

View File

@@ -142,11 +142,7 @@ public class VendorTenantService {
"defaultRoles", List.of("VIEWER"),
"displayNameClaim", "name",
"rolesClaim", "roles",
"audience", "https://api.cameleer.local",
"additionalScopes", List.of(
"urn:logto:scope:organizations",
"urn:logto:scope:organization_roles"
)
"audience", "https://api.cameleer.local"
));
log.info("Pushed OIDC config to server for tenant {}", tenant.getSlug());
} catch (Exception e) {