Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixed-content error of loading http over https scheme after disconnection from social account #924

Merged
merged 1 commit into from
Jun 5, 2016

Conversation

kola-er
Copy link
Contributor

@kola-er kola-er commented May 10, 2016

The three possible sources of redirect-uri to backend.strategy.redirect() call would most likely supply a relative uri. From my encounter with this, the redirect-uri got loaded over http which caused Mixed-content error since the social platform disconnection request was made over https scheme.

So passing any of the relative redirect-uri to backend.strategy.absolute_uri() would pass the absolute redirect-uri with the desired scheme to backend.strategy.redirect().

@omab
Copy link
Owner

omab commented Jun 5, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants