Arquisoft / lomap_en3b

LoMap Software architecture group en3b course 2022_23
https://arquisoft.github.io/lomap_en3b
6 stars 0 forks source link

Having to click login button twice #89

Closed FdezAriasSara closed 1 year ago

FdezAriasSara commented 1 year ago

When we access the login view of our app, we have to click twice on the login button for it to work.

We also have the suspicion it duplicates the petitions, but for some reason , just one click wont work.

We need to try and see if this is related to asynchronity.

FdezAriasSara commented 1 year ago

While investigating this issue, i found the following in the login view.. image

i remember doing this in the first stages of the app , when i did not know nothing about react nor solid, and im guessing this might be it. I will try and see if i can make things work without the other button inside.

FdezAriasSara commented 1 year ago

The button inside the login button is necessary.

After looking a little bit more i found this post where they say it might be related to sessionProvider so i will have a look

FdezAriasSara commented 1 year ago

turns out it had nothing to do with the provider it was just the redirect url.