<#5124 Add allowedAudience to flyte-core external ...
# flyte-github
c
#5124 Add allowedAudience to flyte-core external auth deployment documentation Pull request opened by mwaylonis Why are the changes needed? This adds documentation to the auth config for flyte-core deployments with Okta. In the case where flyteadmin is running in the same cluster as flytepropeller/flytescheduler, the authentication request from flytescheduler to flyteadmin is made using
http://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/flyte