Setup Microsoft OAuth integration with NextAuth (Outlook)
Add Microsoft/Outlook authentication support alongside existing Gmail auth.
Tasks:
- [ ] Add Azure AD provider to NextAuth config
- [ ] Update session handling to track provider type (gmail/outlook)
- [ ] Update environment variables for Azure credentials
- [ ] Add login UI toggle between Gmail/Outlook
- [ ] Add documentation for Azure app registration process
- [ ] Hide Outlook login if environment variables for Azure not set
Technical Notes:
- Use
next-auth/providers/azure-ad - Need to handle tenant ID for enterprise deployment
- Update types to include provider in session
Can I work on this?
Not just MS support saml or openid connect, these are standards and with this also microsoft is supported AND everything else
We need access to user's email. It's not just about log in.
Best, Eliezer
On Fri, Apr 11, 2025 at 6:19 PM, celevra < @.*** > wrote:
Not just MS support saml or openid connect, these are standards and with this also microsoft is supported AND everything else
— Reply to this email directly, view it on GitHub ( https://github.com/elie222/inbox-zero/issues/271#issuecomment-2797211872 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAXSQXY4MGHKCULU5EXZPSD2Y7MPPAVCNFSM6AAAAABT4WAB4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJXGIYTCOBXGI ). You are receiving this because you authored the thread. Message ID: <elie222/inbox-zero/issues/271/2797211872 @ github. com>
celevra left a comment (elie222/ inbox-zero#271) ( https://github.com/elie222/inbox-zero/issues/271#issuecomment-2797211872 )
Not just MS support saml or openid connect, these are standards and with this also microsoft is supported AND everything else
— Reply to this email directly, view it on GitHub ( https://github.com/elie222/inbox-zero/issues/271#issuecomment-2797211872 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAXSQXY4MGHKCULU5EXZPSD2Y7MPPAVCNFSM6AAAAABT4WAB4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJXGIYTCOBXGI ). You are receiving this because you authored the thread. Message ID: <elie222/inbox-zero/issues/271/2797211872 @ github. com>
yes but there are other e-mail provider as gmail and microsoft and they are support imap or jmap and oauth
JMAP has minimal support. It's been brought up in the past and doesn't seem to be a good option.
On Sun, 13 Apr 2025 at 22:21, celevra @.***> wrote:
yes but there are other e-mail provider as gmail and microsoft and they are support imap or jmap and oauth
— Reply to this email directly, view it on GitHub https://github.com/elie222/inbox-zero/issues/271#issuecomment-2800086611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXSQX7BGOMOAR7MAZCZKZL2ZK2MTAVCNFSM6AAAAABT4WAB4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGA4DMNRRGE . You are receiving this because you authored the thread.Message ID: @.***> celevra left a comment (elie222/inbox-zero#271) https://github.com/elie222/inbox-zero/issues/271#issuecomment-2800086611
yes but there are other e-mail provider as gmail and microsoft and they are support imap or jmap and oauth
— Reply to this email directly, view it on GitHub https://github.com/elie222/inbox-zero/issues/271#issuecomment-2800086611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXSQX7BGOMOAR7MAZCZKZL2ZK2MTAVCNFSM6AAAAABT4WAB4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGA4DMNRRGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Best, Eliezer
Being worked on here: https://github.com/elie222/inbox-zero/pull/493