-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solid authenication doesn't work between examples #18
Comments
Interesting. If there's a simple explanation for why, I'd be curious to know. |
I think the explanation is that the authentication library stores data under localStorage, and given that the applications are run on the same domain ( |
Ok, I misunderstood it as the opposite… After logging in with the REST example and viewing solid-file-client, it 'automatically presents the data from my account'—I actually like this and would consider it a feature as it demonstrates fluidity despite using different approaches. |
I'm not sure if we're still understanding each other. When you log into the REST API example, if you then try to use the Given that this is targeted to developers understanding the code, and possibly tinkering with it, I think that's a problem. |
Could we try to automatically logout when leaving a solid page app ? |
Whoops, that's exactly what happened! Nevermind what I said. |
As noticed by @bourgeoa, when you log into one of the Solid examples, you can't use the other ones without logging out first.
I'm not sure there's an easy way to solve this problem without complicating in excess, but at least we can have this issue open in case someone stumbles upon the problem.
The text was updated successfully, but these errors were encountered: