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

app origin as option of popupLogin

Open y0va opened this issue 6 years ago • 3 comments

If an app is deployed on a non-solid-server I need to specify it as trusted since NSS5.

If I login using popupLogin to solid.community with popupUri set to the popup.html on my dev NSS server, after login, it asks me to add that dev server to the trusted apps, instead of localhost or the domain of the deployed app.

If I specify the app location as callbackUri, solid.community asks me to add the app location as trusted app, but it also loads that app in the widget, which is probably the expected behavior. But I also couldn't figure out how to use callbackUri properly, as it seems to be undocumented.

So I envision a option appOrigin to tell the IDP wich Uri to add to trusted apps.

y0va avatar Aug 05 '19 14:08 y0va

Ah right. It's better not to use the popup uri and instead have the user choose the issuer from your app.

jaxoncreed avatar Aug 05 '19 19:08 jaxoncreed

Ha - I just ran across this in solid-file-client via solid-ide and filed https://github.com/jeff-zucker/solid-file-client/issues/72 only to come here.

robmccoll avatar Aug 06 '19 00:08 robmccoll

@jaxoncreed: that's not the problem I's like to specify appOrigin not IDP, which does not need to be the same.

y0va avatar Aug 06 '19 07:08 y0va