How do you authenticate using the admin swagger re...
# ask-the-community
l
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
What was the issue?
l
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
154 Views