cuddly-jelly-27016
03/03/2025, 7:00 PMhttp://flyteadmin:80. flyteadmin uses the domain in the request to validate the audience in the JWT returned by okta (code reference). This causes a mismatch between the JWT audience and the expectedAudience when the auth request originates from flytescheduler within the same cluster. The allowedAudience setting takes precedence over the URL extracted from the request, so setting this property in the values file fixes the issue.
What changes were proposed in this pull request?
This is only a documentation change
How was this patch tested?
Tested with the latest helm chart
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Docs link
Summary by Bito
This PR updates deployment documentation for flyte-core, adding specific Okta authentication configuration details. It provides guidance on setting allowedAudience parameters and modifying deployment URLs for proper token validation, addressing JWT audience mismatch issues when components are co-deployed.
Unit tests added: False
Estimated effort to review (1-5, lower is better): 1
flyteorg/flytecuddly-jelly-27016
03/03/2025, 7:00 PM