Replies: 3 comments
-
Just for refence, I've succesfully configured Open ID with Entra, here my example configuration for
I had some problem using CONFIG_URL with On Entra, I've created a App that use "Web" as authentication, and send "email" as token, then make Graph authorization to read also email from user profile. I think also Still working on how to make |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
First, thank you very much for opening this issue @stich86, this was very helpful. I probably wouldn't have tried to use sts.windows.net for the I figured I could probably add a few Entra screenshots in case anyone else stumbles across this in the future. When I tried to use login.microsoftonline.com/tenantid/v2 (or something) rather than sts.windows.net, I got "invalid OIDC token" errors from the web UI on a login attempt: Logs showed a "oidc: logout url response code 200" from httpd. I suspect this is what @stich86 ran into? In case this helps anyone, here is my SFTPGo OIDC & Entra Application config to use "upn" (user principal name, email - requires no extra config):
You can find your tenant ID in the Identity > Overview section of the Entra admin center (entra.microsoft.com) under Basic Information. In Entra, my configured Redirect URI is "https://sftpgo.domain.foo/web/oidc/redirect". To register an App, navigate to the Entra admin center (entra.microsoft.com), expand "Applications" in the left-side nav pane, and select "App Registrations". Then, fill in your app name, select which Microsoft accounts should be allowed to authenticate, and enter a redirect URI ("https://my.SFTPGo.com/web/oidc/redirect"). Client ID can be found under the App Registration: Create a Client Secret under the App Registration (via App Registrations > SFTPGo > Certificates & secrets > New client secret). The Value is your "oidc": {"client_secret"} value. Then, assign users to the "Enterprise Application" (different tab): Finally, once you've created users with usernames that match the UPNs (ex.: username 'foo@bar.baz' in SFTPGo) your users should be able to click that magic "Sign in with OpenID" button and get dropped into the web UI. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
has anyone implemented the auth using Entra ID?
I want to make it works for WebClient login.
Any help is really appreciated
thanks
Beta Was this translation helpful? Give feedback.
All reactions