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

Gopal Vashishtha

02/06/2024, 4:24 PM
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

Haytham Abuelfutuh

02/06/2024, 5:06 PM
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

Gopal Vashishtha

02/06/2024, 10:48 PM
oh cool! yes this does seem to work