Neal Feierabend
06/09/2022, 10:28 PMKetan (kumare3)
Prafulla Mahindrakar
06/10/2022, 5:23 AMexternalAuthServer:
.....
#baseUrl: https://<keycloak-url>/auth/realms/<keycloak-realm> # Uncomment for keycloak
#metadataUrl: .well-known/openid-configuration #Uncomment for keycloak
Neal Feierabend
06/10/2022, 5:07 PMflytectl
now opens a browser and gives me a success message on the localhost:53593
page, but back on the cli I get an error response with code = Unauthenticated desc = token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken
. I can see the flytectl grpc request hit the flyteadmin
server with what appears to be a valid JWT issued by Keycloak
I'm hoping I haven't missed something else obvious in the docs!allowedAudience
setting along with the baseUrl
and metadataUrl
values, and then you need to add an audience mapper in Keycloak so that it gets added to the access tokenKetan (kumare3)
Neal Feierabend
06/10/2022, 11:03 PMBruno Freitas
07/27/2022, 11:19 AM