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

Redirect (Referer) Should be a Fully Qualified URL #7

Closed
1 task done
nelsonic opened this issue Apr 22, 2020 · 1 comment
Closed
1 task done

Redirect (Referer) Should be a Fully Qualified URL #7

nelsonic opened this issue Apr 22, 2020 · 1 comment

Comments

@nelsonic
Copy link
Member

nelsonic commented Apr 22, 2020

At present I am redirecting from localhost:4000/admin to the Heroku Demo app:
image

But once the Auth is successful, the redirect does not work because I'm sending a relative url.
It should be an absolute URL so that we can have our auth app on a separate subdomain.

Todo

  • ensure that referer is a fully qualified URL e.g: https://dwyl.com/admin not /admin
@nelsonic
Copy link
Member Author

Redirect back to localhost:
image

image

@nelsonic nelsonic self-assigned this Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant