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

Not able to go beyond '/success' route when trying to login on localhost #105

Open
rishtech20 opened this issue Jan 5, 2020 · 1 comment

Comments

@rishtech20
Copy link

rishtech20 commented Jan 5, 2020

You have a great project going on here. I am trying to test Schnack on my localhost with Gatsby site. I load the client.js and create a new Schnack instance programatically which renders following view:

view1

On clicking Github button it launches a small chrome window where it asks for permissions. After authorization it redirects to '/success' route and the post comment input never shows up on the screen.

login

@George3d6
Copy link
Member

had the same issue, fix by changing all references to localhost into local.host and adding this to our /etc/hosts file as:

127.0.0.1       local.host
127.0.0.1       schnack.local.host

(Note: instead of schnack in schnack.local.host us whatever subdomain you have setup locally for schnack)

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

2 participants