Node-solid-server: login not working with Chrome

Created on 23 May 2019  路  10Comments  路  Source: solid/node-solid-server

when i select my IDP it doesn't redirect to the login page

This is with 5.1.1

bug

All 10 comments

@RubenVerborgh do you know how https://localhost:8443/common/popup.html is generated? And why is it called popup.html if it鈥檚 displayed in the main window rather than in a popup window?

Same problem occurs on 5.0.1 and 5.0.0. I think we've been affected by a non-semver dependency update.

This problem only occurs when installing fresh from npm, not with the install I have in my local git checkout. Will see if I can find which package changed that could be causing this.

I thought this should be impossible with package-lock.json, but it seems that versions that worked in the past, don't work when I install them now.

Very strange... I have no ideas... Perhaps if @megoth is on his feet?

@RubenVerborgh do you know how localhost:8443/common/popup.html is generated?

Yes, it's imported from solid-auth-client here: https://github.com/solid/node-solid-server/blob/969eb4b1f0b5d511cd4e0cf3974dd9f98a8848c2/lib/api/authn/webid-oidc.js#L106

And why is it called popup.html if it鈥檚 displayed in the main window rather than in a popup window?

It will only work as a popup window.

Seems to only happen in Chrome, and not always (but i still haven't found a pattern in when it does and doesn't happen).
Note that in Firefox, it's a popup, and in Chrome it's not.

Steps to reproduce?

It's also happening on inrupt.net and on solid.community. I think probably it happens on all recent versions of NSS when you use Chrome version 74.

Wait! Upgrading to Chrome Version 74.0.3729.169 (Official Build) (64-bit) seems to have fixed it! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ryuno-Ki picture Ryuno-Ki  路  5Comments

ludwigschubi picture ludwigschubi  路  3Comments

melvincarvalho picture melvincarvalho  路  6Comments

nicola picture nicola  路  4Comments

melvincarvalho picture melvincarvalho  路  4Comments