Hello all, anyone using the Azure SSO with Flyte? ...
# flyte-support
f
Hello all, anyone using the Azure SSO with Flyte? I am able to get the SSO working on the Flyte UI but the cli auth fails with an error:
Copy code
The 'redirect_uri' parameter does not match any of the OAuth 2.0 Client's pre-registered redirect urls
I wonder if someone else hit this issue? (note: I already verified that the redirect URI is registered in the Azure app)
Actually it seems like CLI uses Flyte’s own auth server.
t
hi
you’ll need to add the redirect url configured in flyte to the auth server
flyte comes with its own authorization server.
but you don’t have to use it.
f
right.. i am trying to figure out how to add the redirect_url for auth server
t
people who use Okta for example might choose to use Okta’s authorization server
f
yeah.. we will look into okta. It seems like Azure doesn’t provide outhorization server? I need to look into that as well
I have this configured:
Copy code
thirdPartyConfig:
          flyteClient:
            clientId: flytectl
            redirectUri: <https://localhost:53593/callback>
            scopes:
            - offline
            - all
Looks like I need another block for authServer to tell it about the redirect URI?
t
does azure sso come with an auth server?
f
i am not sure. I couldnt find the docs on auth server
I tried configuring it, but I saw that the URL flyte was trying to get the metadata was not a valid URL for Azure SSO
t
this was resolved out of band btw, configuration was added to the SelfAuthServer
💯 1
thanks!
❤️ 1
156 Views