-
-
Couldn't load subscription status.
- Fork 124
Description
This tool saved my life! We have Jira in a version which does not support OAuth2, and Office 365. I fired up a tiny EC2 on AWS. I needed to make a small ugly change to let it work, but you probably have a better solution ;-).
The problem is, that my server listens on http (port 80) and is behind a cloudfront distribution (which of course does SSL-Termination). So in line 628 my response_url begins with http://xxxxx (what is wrong). The redirect_uri begins with https://xxxx (which of course is correct). The match fails because of the wrong scheme.
My assumption is that the wsgi environment does not know about the situation that it is "behind an SSL proxy" and is assuming "http" as scheme.
Do you have a good fix / idea for this?
Warm regards!