79790225

Date: 2025-10-14 13:35:52
Score: 0.5
Natty:
Report link

When using Microsoft SSO with Airflow, the JWT (client_assertion) you sign with your RSA key expires after 10 minutes.
The issue happens because Airflow creates that token once at startup, then keeps reusing it — so after 10 minutes, login fails.

Fix:
Generate a new JWT dynamically each time Airflow requests a token from Microsoft, not just once.
You can do this by:

That way, the JWT is always fresh, and Microsoft SSO keeps working.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: James Anderson