can i use auth0 as external authentication server ...
# ask-ai
v
can i use auth0 as external authentication server ?? if so can u share sample flyte admin base config and properller config with auth0 as external auth server >
a
Yes, you can use Auth0 as an external authentication server with Flyte. Here is a sample configuration for Flyte Admin and Flyte Propeller using Auth0 as the external auth server. Flyte Admin Configuration
Copy code
auth:
  enabled: true
  enableAuthServer: false
  oidc:
    baseUrl: https://<AUTH0_DOMAIN>/.well-known/openid-configuration
    clientId: <AUTH0_CLIENT_ID>
    clientSecret: <AUTH0_CLIENT_SECRET>
  authorizedUris:
    - https://<YOUR_FLYTE_DEPLOYMENT_URL>
appAuth:
  authServerType: External
  externalAuthServer:
    baseUrl: https://<AUTH0_DOMAIN>/.well-known/openid-configuration
    metadataUrl: .well-known/openid-configuration
    allowedAudience: <AUTH0_AUDIENCE>
  thirdPartyConfig:
    flyteClient:
      clientId: <AUTH0_CLIENT_ID>
      redirectUri: <http://localhost:53593/callback>
      audience: <AUTH0_AUDIENCE>
      scopes:
        - read:client_grants
Flyte Propeller Configuration
Copy code
admin:
  endpoint: dns:///<FLYTE_ADMIN_ENDPOINT>
  authType: ClientSecret
  clientId: <AUTH0_CLIENT_ID>
  clientSecretLocation: <PATH_TO_CLIENT_SECRET>
  scopes:
    - read:client_grants
  audience: <AUTH0_AUDIENCE>
For more details, refer to the Flyte documentation. Would you like more detail on any specific part of the configuration? Sources: - Flyte Documentation - GitHub Issue #3660 - GitHub Issue #3661 👍 1 button 👎 0 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.