Arquisoft / faq

Frequently asked questions - Software architecture course
MIT License
4 stars 0 forks source link

Problem with login when deploying the project #47

Closed OscarDavilaSampedro closed 1 year ago

OscarDavilaSampedro commented 1 year ago

Good afternoon, I am opening this issue to report a problem I encountered during the deployment of my application in case you can help me to solve it or confirm if you are experiencing the same problem.

The login of my application (implemented with the LoginButton component of Inrupt) works perfectly well locally. However, when deploying the application following the steps described in lomap_0, the following problem arises: the login button redirects me to Inrupt to log in and, once I do it, it returns to my application as it should. However, once this is done, absolutely nothing happens.

On the advice of others with a similar problem, I have tried deploying the application using HTTPS. However, although it works locally, there seems to be some problem during deployment that prevents me from accessing my page.

Regards, Óscar Davila

OscarDavilaSampedro commented 1 year ago

I almost forgot, my application is currently deployed at http://172.174.92.197:3000/ if you want to check the problem for yourself.

OscarDavilaSampedro commented 1 year ago

Problem solved. Indeed the login was not working because of not using HTTPS. The second was because I was pulling an outdated master resource.