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

Ankit Goyal

01/18/2023, 7:20 PM
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

Yee

01/18/2023, 8:29 PM
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

Ankit Goyal

01/18/2023, 8:30 PM
right.. i am trying to figure out how to add the redirect_url for auth server
y

Yee

01/18/2023, 8:30 PM
people who use Okta for example might choose to use Okta’s authorization server
a

Ankit Goyal

01/18/2023, 8:31 PM
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

Yee

01/18/2023, 8:32 PM
does azure sso come with an auth server?
a

Ankit Goyal

01/18/2023, 8:32 PM
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

Yee

01/18/2023, 9:18 PM
this was resolved out of band btw, configuration was added to the SelfAuthServer
thanks!
2 Views