Skip to content
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

[frontend] Force login buttons to appear if special URLs are used #382

Open
pfortuna opened this issue Apr 9, 2020 · 1 comment
Open
Labels
feature New feature or request priority This is on top of the to-do list

Comments

@pfortuna
Copy link
Contributor

pfortuna commented Apr 9, 2020

People that used Google are seeing only Facebook.

@pfortuna pfortuna added bug Something isn't working priority This is on top of the to-do list labels Apr 9, 2020
@pfortuna
Copy link
Contributor Author

We couldn't get the problem to manifest itself in staging. Nevertheless, we agreed in implementing this feature:
If the user enters the app using the normal path:
https://app.covidografia.pt/#/login
Then the login buttons are shown according to the loginmethod entry in the localstorage. This is exactly how it works now.

However, if the user uses this URL, then only the Facebook button should be shown, regardless of the localstorage entry:
https://app.covidografia.pt/#/login/facebook

If the user uses this URL, then only the Google button should be shown, regardless of the localstorage entry:
https://app.covidografia.pt/#/login/google

@pfortuna pfortuna changed the title [frontend] Remembering login is not working well [frontend] Force login buttons to appear if special URLs are used Apr 10, 2020
@pfortuna pfortuna added feature New feature or request and removed bug Something isn't working labels Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request priority This is on top of the to-do list
Projects
None yet
Development

No branches or pull requests

1 participant