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

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   For a Bearer token the audit principal is the first 8 characters of the 
token. For a JWT those come from the header, so callers whose tokens share a 
header all get the same principal. Details and a reproducer are in 
https://github.com/apache/gravitino/issues/11571#issuecomment-5521027588.
   
   ### Error message and/or stacktrace
   
   N/A
   
   ### How to reproduce
   
   Call `_extract_principal` with two JWTs that have the same header and 
different `sub`. Both return `bearer:eyJhbGci`.
   


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