I have issue working with flyte config when runnin...
# ask-the-community
I have issue working with flyte config when running in python code.
Copy code
  endpoint: dns:///flyte.my.domain
  authType: ClientSecret
  clientId: xxx
  clientSecretEnvVar: FLYTE_CLIENT_SECRET
when running it locally, it works just fine. when running it from a python code, we got the following issue:
Copy code
ERROR:root:Status Code (400) received from IDP: {"error":"invalid_scope","error_description":"One or more scopes are not configured for the authorization server resource."}
we use Okta and I see in the logs this error: (attached the image). but there’s no difference in the scopes in each request… so I wonder what’s the issue… Thanks in advanced
Great! That’s exactly what we did and it works. Thanks!