docs/en/_assets/user_priv/security_integration_oauth.mdx
CREATE SECURITY INTEGRATION <security_integration_name>
PROPERTIES (
"type" = "authentication_oauth2",
"auth_server_url" = "",
"token_server_url" = "",
"client_id" = "",
"client_secret" = "",
"redirect_url" = "",
"jwks_url" = "",
"principal_field" = "",
"required_issuer" = "",
"required_audience" = ""
"comment" = ""
)
native.http://<starrocks_fe_url>:<fe_http_port>/api/oauth2.authentication_oauth2.fe/conf directory.sub) in the JWT. The default value is sub. The value of this field must be identical with the username for logging in to StarRocks.iss) in the JWT. The JWT is considered valid only if one of the values in the list match the JWT issuer.aud) in the JWT. The JWT is considered valid only if one of the values in the list match the JWT audience.