schnack icon indicating copy to clipboard operation
schnack copied to clipboard

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

Open rishtech20 opened this issue 5 years ago • 1 comments

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

rishtech20 avatar Jan 05 '20 08:01 rishtech20

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)

George3d6 avatar Apr 18 '20 14:04 George3d6