How do you authenticate using the admin swagger requests? Getting a status code 401 back on a deployment that is doing openid connect.
numerous-hamburger-7178
06/01/2023, 9:29 PM
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"
numerous-hamburger-7178
06/01/2023, 10:27 PM
oh i figured it out.
t
thankful-minister-83577
06/02/2023, 6:43 AM
What was the issue?
n
numerous-hamburger-7178
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