Hello all, anyone using the Azure SSO with Flyte? ...
# ask-the-community
a
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.
y
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.
a
right.. i am trying to figure out how to add the redirect_url for auth server
y
people who use Okta for example might choose to use Okta’s authorization server
a
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?
y
does azure sso come with an auth server?
a
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
y
this was resolved out of band btw, configuration was added to the SelfAuthServer
thanks!
107 Views