nodeSolidServer/solid-auth-client

Cannot use with non-public domain names?

michielbdejong opened this issue · 3 comments

I can't find a way to point 'launcher.com' to 127.0.0.1 and then run https://github.com/inrupt/launcher-exploration on http://launcher.com:3000/ instead of on http://localhost:3000.

To reproduce, run npm install && npm start in the master branch of https://github.com/inrupt/launcher-exploration. That will open http://localhost:3000 and you can log in, that works.

Now add 127.0.0.1 launcher.com to your /etc/hosts file and navigate to http://launcher.com:3000/ and try to log in. The login popup will hang, and you'll see an error like this:

Screenshot 2020-01-09 14 42 38

Hmm that's certainly strange. I would have thought it would work even if configured through etc/hosts. I'll add this as a requirement for the new authenticator.

I would have thought it would work even if configured through etc/hosts.

It does; the cause above is something different. (See for instance #73)