bharos opened a new issue, #10565: URL: https://github.com/apache/gravitino/issues/10565
### What would you like to be improved? When a Gravitino deployment needs to accept tokens from more than one OAuth provider (e.g., Azure AD for end-user clients and an internal proxy for service tokens), there is no way to configure multiple JWKS sources. Only one `jwksUri` + `authority` pair can be configured, making multi-provider setups impossible without running separate Gravitino instances. ### How should we improve? Allow `JwksTokenValidator` to be configured with N JWKS entries, indexed by `gravitino.authenticator.oauth.jwks.<N>.uri/issuer/audience/principalFields`. Tokens are routed to the correct entry by matching the JWT `iss` claim — O(1) lookup, no unnecessary cross-provider JWKS calls Also , The legacy single-provider config keys remain fully backward-compatible. -- 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]
