Not able to return https for redirect_uri
See original GitHub issueNot able to return https for redirect_uri:
def redirect_uri(self, request): self.load_config() return request.build_absolute_uri(reverse("django_auth_adfs:callback"))
https://github.com/jobec/django-auth-adfs/blob/master/django_auth_adfs/config.py#L259
Currently manually replacing http to https
def redirect_uri(self, request): self.load_config() return request.build_absolute_uri(reverse("django_auth_adfs:callback")).replace("http://", "https://")
Im assuming ive missing a setting in either django or django-auth-adfs… scratching my head.
If there isn’t an option could a fix be to add a setting?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
[Bug] Redirect URI is set to http instead of https when ... - GitHub
I'm seeing the same behavior using example 1-1, deployed to a regular Azure App Service (not docker). Reply urls in azure are set...
Read more >Spring OAuth redirect_uri not using https - Stack Overflow
I am having a similar problem, but instead of wanting to be HTTPS, the URI is always returned to me as HTTPS when...
Read more >Redirect URI (reply URL) restrictions - Microsoft Entra
A description of the restrictions and limitations on redirect URI (reply URL) format enforced by the Microsoft identity platform.
Read more >The 'redirect_uri' parameter must be a Login redirect URI in ...
Cause. This error is returned because the value of ${redirect_uri} used in authorize request is not registered in the Open ID client in...
Read more >Solved: Receiving a "redirect_uri_mismatch" error when aut...
There are no work around as this is how the specification of oAuth2 was written. At this time we don't have a way...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You should configure nginx to set the x-forwarded-proto header, that should do the trick, along with that setting I mentioned before.
You sir… are AWESOME!
Thank you, so much!