bharos commented on issue #8630: URL: https://github.com/apache/gravitino/issues/8630#issuecomment-3317065036
I took a look at the connector code and my thought is thatthe Trino connector is failing to authenticate with OAuth-enabled Gravitino servers because the [CatalogConnectorManager.config()](https://github.com/apache/gravitino/blob/main/trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogConnectorManager.java#L114) method only sets up basic client configuration without OAuth authentication. When Gravitino server has OAuth enabled, this client probably cannot authenticate and receives 401 errors. So I think the fix is to add the OAuth config in this connector initialization. Let me try to add this -- 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]
