¡Hi! I’m a student from the University of Oviedo and I’m working on a routes management app called “Viade” with my team.
This week we started to code and I tried to create the logic for a login page so I went by using the Make a solid app on your lunch break tutorial but I encountered some problems.
The first problem was that the popup.htm file didn’t do anything. I searched for a solution and saw that I had to use a link for the “const popupUri” in main.js (you can see the code in the image at the end of the post).
The second problem was that when I tried to log out, the page didn’t change the interface. I thought that the problem was that I wasn’t logging out, but it seems that I was logging out and the solid.auth.trackSession wasn’t changing the interface.
I read about that method and I understood that when the session state changes it is invoked, but for some reason, it only works when I log in and don’t works when I log out.
Here is the code:
The rest of the files are the same from the tutorial (I would add more pictures, but I’m a new user and I can’t do it).
Also, here’s the link for the viade app, we currently only have some documentation, but we will add the rest day by day.
Thank you for reading.