lasdf1234 commented on code in PR #10503:
URL: https://github.com/apache/gravitino/pull/10503#discussion_r2972680529
##########
server-common/src/main/java/org/apache/gravitino/server/authentication/OAuthConfig.java:
##########
@@ -138,6 +138,15 @@ public interface OAuthConfig {
.toSequence()
.createWithDefault(java.util.Arrays.asList("sub"));
+ ConfigEntry<List<String>> GROUP_FIELDS =
+ new ConfigBuilder(OAUTH_CONFIG_PREFIX + "groupsFields")
+ .doc(
+ "JWT claim field(s) to use as groups. Comma-separated list for
fallback in order (e.g., 'groups,roles').")
+ .version(ConfigConstants.VERSION_1_3_0)
+ .stringConf()
+ .toSequence()
+ .createWithDefault(java.util.Arrays.asList("groups"));
Review Comment:
OK reloved
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]