Skip to content

OpenID Connect with Azure Entra ID #1876

Answered by stich86
dauphinpasdroit asked this question in Q&A
Discussion options

You must be logged in to vote

I've configured today my SFTPGo instance to use Entra ID authentication, i've to use sts.windows.net instead of login.microsoft.com, because it gives me error.

{"level":"error","time":"2025-02-01T14:50:17.414","sender":"service","message":"could not start HTTP server: oidc: unable to initialize provider for URL \"https://login.microsoftonline.com/XXXXX.onmicrosoft.com/\": oidc: issuer did not match the issuer returned by provider, expected \"https://login.microsoftonline.com/XXXXX.onmicrosoft.com/\" got \"https://sts.windows.net/TENANT_UID/\""}

Here is my configuration, still working on how to make sftpgo_role passed into token request:

SFTPGO_HTTPD__BINDINGS__0__OIDC__CLIENT_ID="YOUR_AP…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dauphinpasdroit
Comment options

@stich86
Comment options

Answer selected by dauphinpasdroit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants