square-agency-59624
08/25/2025, 7:56 PMjolly-florist-66728
08/25/2025, 7:57 PMjolly-florist-66728
08/25/2025, 7:58 PMuserAuth.openId
section. For app authentication, set authServerType: External
and provide the Okta base URL and allowed audience under appAuth.externalAuthServer
. Example config snippets are available in community discussions and Flyte's Helm values, showing the necessary fields for Okta integration, including authorizedUris
, clientId
, and scopes
such as profile
, openid
, and offline_access
if refresh tokens are needed. Make sure your Okta app registration matches these values and that the audience is set appropriately for Flyte services.
See the following example for the relevant sections:
auth:
authorizedUris:
- https://<your-flyte-domain>
- <http://flyteadmin:80>
- <http://flyteadmin.flyte.svc.cluster.local:80>
appAuth:
authServerType: External
externalAuthServer:
baseUrl: https://<your-okta-domain>/oauth2/<auth-server-id>
metadataUrl: .well-known/openid-configuration
allowedAudience: flytepropeller # or flytectl, as needed
thirdPartyConfig:
flyteClient:
clientId: flytectl
redirectUri: <http://localhost:53593/callback>
scopes:
- offline
- all
userAuth:
openId:
baseUrl: https://<your-okta-domain>/oauth2/<auth-server-id>
scopes:
- profile
- openid
- offline_access
clientId: <your-okta-client-id>
For more details and troubleshooting, see the community discussions and config examples in the linked issues. Would you like a step-by-step breakdown or more details on any specific section?
Sources:
- flyteadmin/auth/config/config.go š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.square-agency-59624
08/25/2025, 7:59 PMjolly-florist-66728
08/25/2025, 7:59 PMjolly-florist-66728
08/25/2025, 8:00 PM~/.flyte/config.yaml
) should specify the Flyte Admin endpoint, set authType: Pkce
, and point to your Okta OIDC server. Example:
admin:
endpoint: dns:///your-flyte-admin-url:8089
authType: Pkce
insecure: false
You do not need to specify Okta-specific details in the local config; these are set on the Flyte server side. The client will trigger a browser-based login to Okta when needed. For more, see flytectl/config.yaml. Would you like more detail or a pyflyte-specific example?
Sources:
- flytectl/config.yaml š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.