One more question: For PKCE login, I tried many di...
# flyte-support
b
One more question: For PKCE login, I tried many different ways to set
audience
with value
ims
, but the URL I got in CLI (flytectl) logs never takes it. Example URL: https://DOMAIN?client_id=xxx&redirect_uri=xxx&response_type=code&scope=xxx&code_challenge=xxx&code_challenge_method=xxx&nonce=xxx&state=xxx, anyone knows how could I do it? 🤔
👀 1
A bump of this ^ From the code it looks like only DeviceFlow and ClientSecret would consume
audience
, but not for PKCE. Please let me know if you know how I can configure audience for PKCE. Thanks
👀 1
a
@brief-airline-84727 that seems to be the case Could you try setting
useAudienceFromAdmin :true
? and setting the
audience
under the
adminServer.auth
config section? Are you using flyte-core or binary?
b
@average-finland-92144 Thanks for looking into this. I am using Flyte core. I tried it and above configuration didn't work, but I'll double check it tomorrow. BTW, the ``useAudienceFromAdmin :true` you mentioned is in the
~/.flyte/config.yaml
in
admin
section, right?
a
it could be there yes, especially because the Go clients (`flytectl`/
pyflyte
) will use that file to setup the connection
b
Thanks. I tested but audience param was not carried in the URL opened via browser according to the CLI log. I used PKCE.