Hello. I got error in flyteadmin anybody help me w...
# ask-the-community
j
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
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
@Samhita Alla hello, yes I did that it but not working.
s
Why does the
authorizedUris
section have
<https://test.com>
?
j
or I don’t need put /callback?
s
Any specific reason why you added it? It shouldn't be there, right?
160 Views