Does anyone have good examples of using `FlyteRemo...
# ask-the-community
g
Does anyone have good examples of using
FlyteRemote
with Okta auth? I can see how to use
flytekit.clients.auth_helper.get_authenticator
to get tokens but then I'm not sure how to actually tell
flytekit
to use those tokens every time it hits the flyteadmin service
h
Hey @Gopal Vashishtha, You shouldn't need to do anything in flytekit. It'll attempt to make a call to FlyteAdmin, once it fails with Unauthenticated, it'll initiate the flow as instructed by FlyteAdmin...
g
oh cool! yes this does seem to work