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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user