I have issue working with flyte config when runnin...
# ask-the-community
a
I have issue working with flyte config when running in python code.
~/.flyte/config.yaml
Copy code
admin:
  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
s
a
Great! That’s exactly what we did and it works. Thanks!