solid-auth-client icon indicating copy to clipboard operation
solid-auth-client copied to clipboard

Cannot use with non-public domain names?

Open michielbdejong opened this issue 6 years ago • 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

michielbdejong avatar Jan 09 '20 14:01 michielbdejong

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.

jaxoncreed avatar Jan 09 '20 15:01 jaxoncreed

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

It does; the cause above is something different. (See for instance https://github.com/solid/solid-auth-client/issues/73)

RubenVerborgh avatar Jan 09 '20 15:01 RubenVerborgh

See also https://github.com/solid/solid-auth-client/issues/79 and https://github.com/solid/profile-viewer-tutorial/issues/4

michielbdejong avatar Jan 09 '20 15:01 michielbdejong