feat: update default rolesClaim to 'roles' for Logto compatibility

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-05 13:10:53 +02:00
parent 3bd07c9b07
commit fec6717a85
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,6 @@ public record OidcConfig(
String displayNameClaim
) {
public static OidcConfig disabled() {
return new OidcConfig(false, "", "", "", "realm_access.roles", List.of("VIEWER"), true, "name");
return new OidcConfig(false, "", "", "", "roles", List.of("VIEWER"), true, "name");
}
}