nodeSolidServer/solid-auth-client

app origin as option of popupLogin

y0va opened this issue · 3 comments

y0va commented

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.

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

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

y0va commented

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