rawwar commented on PR #49531:
URL: https://github.com/apache/airflow/pull/49531#issuecomment-2821534937

   > In our current usage of JWT, we neither store fields in the payload nor 
use them in audit logging, as `action_logging` only records the username.
   > 
   > 
https://github.com/apache/airflow/blob/51e242c0d42feb65b74546e5946098192782505b/airflow-core/src/airflow/api_fastapi/logging/decorators.py#L88
   > 
   > 
   > 
   > Do we actually need to include the jti (JWT ID) field in the payload in 
this case?
   > 
   > Is there a specific reason or use case for it here?
   
   This is for invalidating token when user logs out. I was looking to store 
this in DB. Also, i read that adding Jti will also help generate unique tokens


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