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

A problem when login to a solid pod in a chrome extension with ReactJs

Open Mohamed-MERZOUK opened this issue 5 years ago • 0 comments

I'm using Reactjs with Express as backend to create a solid chrome extension. I want to make a login interface in my extension to connect to a pod, it worked, but when i login to the pod and access the preferences i don't find a trace of the extension in trusted applications list in the pod. Because of that i thought i might implement the login script in the backend and send the login information to the frontend (the extension). When trying to do so i got another problem related to the 'window.open' method used in one of the solid-auth-client files. It said that i am not alowd to use the 'window' property on the backend side. Is there a way around this problem? Basically, login to a pod in a chrome extension using Reactjs and Express. Thank you.

Mohamed-MERZOUK avatar May 30 '20 22:05 Mohamed-MERZOUK