acoustic-painting-95053
06/09/2022, 10:28 PMfreezing-airport-6809
icy-agent-73298
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
acoustic-painting-95053
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!acoustic-painting-95053
06/10/2022, 9:59 PMallowedAudience
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 tokenfreezing-airport-6809
acoustic-painting-95053
06/10/2022, 11:03 PMflaky-addition-81870
07/27/2022, 11:19 AM