anishgirianish commented on code in PR #60108: URL: https://github.com/apache/airflow/pull/60108#discussion_r3103987159
########## airflow-core/docs/security/jwt_token_authentication.rst: ########## @@ -201,16 +201,26 @@ Token structure (Execution API) Token scopes (Execution API) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The Execution API defines two token scopes: +The Execution API defines two token scopes with different lifetimes: **workload** - A restricted scope accepted only on endpoints that explicitly opt in via - ``Security(require_auth, scopes=["token:workload"])``. Used for endpoints that - manage task state transitions. + A longer-lived token embedded in the workload JSON payload when the Scheduler Review Comment: updated thank you -- 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]
