danhuawang opened a new issue, #9609:
URL: https://github.com/apache/gravitino/issues/9609

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   
https://github.com/user-attachments/assets/69a8924f-fc4f-4d12-aa6a-447e2cca8d87
   
   ### Error message and/or stacktrace
   
   N/A
   
   ### How to reproduce
   
   Setting `gravitino.authenticators = oauth` as  following
   
   ```
   # THE CONFIGURATION FOR authorization
   gravitino.authorization.enable = true
   gravitino.authorization.serviceAdmins = 
anonymous,service-account-postman-client,service_admin
   gravitino.authenticators = oauth
   gravitino.authenticator.oauth.serviceAudience = account
   gravitino.authenticator.oauth.defaultSignKey = 
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqmmqfSy8vH9BMKZLIjPHNTClH7yyykV/J/dfNwwicoYCBQgLOLRq59nAiJ9/WOkIq7zIXQ8iZU5XmI0bRSo3Ah7G4uF6CUbpny+n4zxwTfEEJ3dVC1Aa1g3DZbf8mN76B2ykf6z4FEbTWVBp0xMZ14YBOIuOUkN4F/x8bQNYRPl0yepLBZf6uY26f2o5+yKBcpAk7K/pGoD4v+DKpt/A8bvf4fy3JpZERsMPS/veeyIqR6f+455KLjRabBpxl5xIo8iUer5O0Ci8xbQMci4ErRRemm5n1e74Kqpz5u/TcLIPdMLXJ57fLl9t7V9BtLyRTjyooJpnl/lz+kJ+VIt1kQIDAQAC
   gravitino.authenticator.oauth.serverUri = http://192.168.194.232:8081
   gravitino.authenticator.oauth.tokenPath = 
/realms/myrealm/protocol/openid-connect/token
   
   gravitino.authenticator.oauth.provider = oidc
   gravitino.authenticator.oauth.clientId = postman-client
   gravitino.authenticator.oauth.authority = 
http://192.168.194.232:8081/realms/myrealm
   gravitino.authenticator.oauth.scope = profile email
   gravitino.authenticator.oauth.jwksUri = 
http://192.168.194.232:8081/realms/myrealm/protocol/openid-connect/certs
   gravitino.authenticator.oauth.tokenValidatorClass = 
org.apache.gravitino.server.authentication.JwksTokenValidator
   gravitino.authenticator.oauth.principalFields = preferred_username
   
   ```
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to