jerqi commented on code in PR #7727:
URL: https://github.com/apache/gravitino/pull/7727#discussion_r2224227343
##########
server-common/src/main/java/org/apache/gravitino/server/authentication/OAuthConfig.java:
##########
@@ -73,4 +73,48 @@ public interface OAuthConfig {
.stringConf()
.checkValue(StringUtils::isNotBlank,
ConfigConstants.NOT_BLANK_ERROR_MSG)
.create();
+
+ // Extensible OAuth provider configs
+ ConfigEntry<String> PROVIDER =
+ new ConfigBuilder(OAUTH_CONFIG_PREFIX + "provider")
+ .doc("The OAuth provider to use (e.g., azure)")
+ .version(ConfigConstants.VERSION_0_3_0)
+ .stringConf()
+ .create();
+
+ // Azure-specific configs
+ ConfigEntry<String> AZURE_CLIENT_ID =
+ new ConfigBuilder(OAUTH_CONFIG_PREFIX + "azure.client-id")
Review Comment:
If so, Web UI operations will executed by a user. Is it ok?
--
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]