#329 Adding configurable audience property for flyte clients
Pull request opened by
pmahindrakar-oss
Signed-off-by: pmahindrakar-oss
prafulla.mahindrakar@gmail.com
TL;DR
Most Authorization server provide a way to use default audience which can be used to request auth tokens which is what flyte relied on before this PR.
The current PR allows to send a configurable audience field when requesting auth token from the authorization server.
Follow up PR to return audience also from PublicClientConfig endpoint of flyteadmin
flyteorg/flyteadmin#485
If client config contains the audience field then that would be used
Though if the override to useAudienceFromAdmin is set then whatever audience is set in admin would be used
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
flyteorg/flyte#2959
Follow-up issue
NA
flyteorg/flyteidl
✅ All checks have passed
13/13 successful checks