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

Laura Lin

06/01/2023, 8:56 PM
How do you authenticate using the admin swagger requests? Getting a status code 401 back on a deployment that is doing openid connect.
Copy code
"error":"token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken","code":16,"message":"token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken"
oh i figured it out.
y

Yee

06/02/2023, 6:43 AM
What was the issue?
l

Laura Lin

06/02/2023, 3:16 PM
wasnt sure how to get the right urls for the bearer tokens and what secrets to be sending to it but I tracked down in the flytekit code how authentication was working and just made the same calls
4 Views