https://flyte.org logo
#ask-the-community
Title
# ask-the-community
j

João Lobo Guerra Neto

03/14/2023, 12:09 PM
Hello. I got error in flyteadmin anybody help me with issue?
panic: [AUTH_CONTEXT_SETUP_FAILED] Error creating oidc provider w/ issuer [], caused by: Get "/.well-known/openid-configuration": unsupported protocol scheme ""
I have hidden my values for security but I am using azure ad for authentication is there something wrong with my configuration?
server.yaml: |
server:
grpcPort: 8089
httpPort: 8088
security:
useAuth: true
allowCors: true
allowedHeaders:
- Content-Type
- flyte-authorization
allowedOrigins:
- '*'
secure: false
auth:
authorizedUris:
- <https://test.com>
- <http://flyteadmin:80>
- <http://flyteadmin.flyte.svc.cluster.local:80>
userAuth:
openId:
baseUrl: <https://login.microsoftonline.com/{tenent}/v2.0>
clientId: app-id
clientSecretLocation: /etc/secrets/client_secret
scopes:
- profile
- openid
- offline_access
appAuth:
thirdPartyConfig:
flyteClient:
clientId: app-id
redirectUri: https://{url}/callback
scopes:
- offline
- all
flyteadmin:
eventVersion: 2
metadataStoragePrefix:
- metadata
- admin
metricsScope: 'flyte:'
profilerPort: 10254
testing:
host: <http://flyteadmin:80>
s

Samhita Alla

03/15/2023, 7:35 AM
Could you outline the steps you followed? Have you followed https://docs.flyte.org/en/latest/deployment/configuration/auth_setup.html#openid-connect guide?
j

João Lobo Guerra Neto

03/15/2023, 10:34 AM
@Samhita Alla hello, yes I did that it but not working.
s

Samhita Alla

03/15/2023, 11:33 AM
Why does the
authorizedUris
section have
<https://test.com>
?
j

João Lobo Guerra Neto

03/21/2023, 10:58 AM
or I don’t need put /callback?
s

Samhita Alla

03/21/2023, 1:08 PM
Any specific reason why you added it? It shouldn't be there, right?
77 Views