feat(console): support Microsoft Entra ID through generic OIDC#1402
feat(console): support Microsoft Entra ID through generic OIDC#1402UditDewan wants to merge 1 commit into
Conversation
vklimontovich
left a comment
There was a problem hiding this comment.
Thank you for the PR! Does Azure implements OAuth2? We have OAuth2 impl which covers most of the login providers I believe. We don't want to introduce dedicated config / code path for every provider
592b493 to
e52d632
Compare
|
@vklimontovich Thanks — you were right that Entra fits the existing OIDC provider. I’ve reworked the PR to remove the dedicated Azure provider, configuration, and UI path and use The branch is also rebased onto the current I also removed the previous Validation: 31 unit tests, console typecheck, and console lint (no errors). Ready for another look. |
Closes #1312
Summary
Adds documented and tested Microsoft Entra ID support through Jitsu's existing generic OIDC provider, without introducing a provider-specific authentication path.
Configuration
AUTH_OIDC_PROVIDER='{"issuer":"https://login.microsoftonline.com/<tenant-id>/v2.0","clientId":"<Application (client) ID>","clientSecret":"<Client secret value>"}'Register this redirect URI in Entra:
For multi-tenant sign-in, use
organizationsfor work/school accounts orcommonfor work/school and personal Microsoft accounts.The Entra application must return a usable
emailclaim. Jitsu intentionally does not substitutepreferred_username, because Microsoft does not guarantee that claim is an email address and Jitsu uses email for invitations.Changes
AUTH_OIDC_PROVIDERValidation
pnpm exec vitest run --project unit— 31 tests passedpnpm --filter @jitsu-internal/console typecheckpnpm --filter @jitsu-internal/console lint— no errors