Ariel Kaspit
05/28/2023, 9:54 AMError: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); malformed header: missing HTTP content-type
Flyte’s `config.yaml`:
admin:
endpoint: dns:///flyte.mydomain
authType: Pkce
insecure: false
What am I missing?
Thanks in advanced 🙂
ArielKetan (kumare3)
Ariel Kaspit
05/28/2023, 2:59 PMKetan (kumare3)
Ariel Kaspit
05/28/2023, 3:15 PMadmin:
endpoint: dns:///flyte.mydomain
authType: Pkce
insecure: false
Correct?
What’s the next steps?
Since I keep getting this error:
PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); malformed header: missing HTTP content-type
flyte-admin-base-config
configmap):
server.yaml: |
auth:
appAuth:
authServerType: External
externalAuthServer:
allowedAudience: <https://flyte.my.domain>
baseUrl: <https://xxx.okta.com/oauth2/xxx>
metadataUrl: .well-known/oauth-authorization-server
thirdPartyConfig:
flyteClient:
clientId: xxx
redirectUri: <http://localhost:53593/callback>
scopes:
- offline
- all
authorizedUris:
- <https://flyte.my.domain>
- <http://flyteadmin:80>
- <http://flyteadmin.flyte.svc.cluster.local:80>
userAuth:
openId:
baseUrl: <https://xxx.okta.com/oauth2/xxx>
clientId: xxx
scopes:
- profile
- openid
- offline_access
By the way, I added these following specs allowedAudience
and metadataUrl
to my auth configuration although it wasn’t specified in Flyte documentation. Otherwise I got JWT authentication errors in the admin and the scheduler was failing (crashloopback status)…Samhita Alla
David Espejo (he/him)
05/30/2023, 5:55 PM