Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Microsoft Office365 Email OAuth - Redirect URL locked to http:// on self-hosted machine | GoodFirstPicks

Microsoft Office365 Email OAuth - Redirect URL locked to http:// on self-hosted machine

frappe/frappe 0 comments 1mo ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

The issue involves fixing OAuth redirect URL generation in a self-hosted environment.

AI Summary

The issue reports that the OAuth redirect URL defaults to HTTP in a self-hosted setup, which Microsoft rejects as insecure. The fix likely involves modifying URL generation to respect HTTPS when behind a reverse proxy. The main blocker is understanding how the current URL generation interacts with reverse proxy setups.

Issue Description

Description of the issue

Title says it all: the generated redirect URL is defaulted to HTTP on my self hosted setup, and Microsoft won't accept this as secure. I use reverse-proxy setup and am thus able to reach the frontend through https://my-domain.com, but then, probably the stack communicates internally through http endpoints and thus generates http://..... redirect URL.

What can I do to solve this?

Context information (for bug reports)

Output of bench version

(paste here)

Steps to reproduce the issue

Observed result

Expected result

Stacktrace / full error message

(paste here)

Additional information

OS version / distribution, Frappe install method, etc.

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • requires understanding of OAuth flow
  • needs reverse-proxy configuration knowledge
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno