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

Return_to doesn't get set as HTTPS #3

Open
robobenklein opened this issue Sep 2, 2017 · 0 comments
Open

Return_to doesn't get set as HTTPS #3

robobenklein opened this issue Sep 2, 2017 · 0 comments

Comments

@robobenklein
Copy link

I've been trying to figure this out for awhile, but apparently I cannot find where the POST to the /component/steamid/login actually returns the return_to url.

Since it returns an http url instead of an https, the OpenID server complains since their realms no longer match. (The request came from HTTPS and tried to call back to the HTTP url.)

Here's the form data that gets posted to the steam./login page:
image

Since the realms are different, the openid server puts back the error in the querystring:

&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0
&openid.mode=error
&openid.error=realm+and+return_to+do+not+match

image

And then it gets redirected again to https because of the site-wide rule:
image

I feel like this should be a really easy JRoute fix somewhere, but I've been looking for the past few hours and couldn't find anything...

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

No branches or pull requests

1 participant