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

Add a sign in with google shortcut nearby the current login button #498

Open
elboletaire opened this issue Jan 22, 2024 · 5 comments
Open
Labels
enhancement New feature or request theme:vocdoni aka default theme

Comments

@elboletaire
Copy link
Member

Note: only for the default theme. Onvote theme should not show it, so it should be conditional based on the theme.

It could look like something like:
imatge

@elboletaire elboletaire added enhancement New feature or request theme:vocdoni aka default theme labels Jan 22, 2024
@ferranrego
Copy link
Member

The reasoning behind this change:

Highlighting Google as the primary authentication method for users on Vocdoni.app could improve the user success when accessing the app, considering that the target of this subproduct are Web2 users and that assuming that Google Auth would be the main way to login.

For this reason, I would also use a more strong color for the "Sign in with Google" button, making it the primary option for the user. In any case, the "Login" button would be placed on the side of this button with other secondary options like FB, GB, Wallets, and any future login options.

I would also make sure that the process requires the fewer clicks as possible:

Currently, the user has to follow this path: 1. Click to Login, 2. Click to Google, 3. Vocdoni 0auth appears, 4. Click to the user Google account.

The desirable path could look like: 1. Click to Login with Google, 2. Click to the user Google account.

Regarding this, it would be amazing if we can find a way to get rid of this page https://oauth.vocdoni.io/?provider=googlethat appears in the middle of the process.

@elboletaire
Copy link
Member Author

I would also make sure that the process requires the fewer clicks as possible:

Agree

Regarding this, it would be amazing if we can find a way to get rid of this page https://oauth.vocdoni.io/?provider=googlethat appears in the middle of the process.

Not sure that's possible, unless we start showing it as some kind of iframe inside our app... which doesn't sound really good either tbh

@ferranrego
Copy link
Member

ferranrego commented Jan 22, 2024

Not sure that's possible, unless we start showing it as some kind of iframe inside our app... which doesn't sound really good either tbh

The current automatic redirection is a great improvement than in the past. However, I wonder if there is a way to mask it even more to the user. Maybe reducing the displaying time of that page or replacing it by a "loading..." in the UI instead of the button?

@elboletaire
Copy link
Member Author

@nigeon could bring some light here, since I'm not sure if it can be done tbh.

@nigeon
Copy link
Contributor

nigeon commented Jan 23, 2024

Will take a look to see what's possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request theme:vocdoni aka default theme
Projects
None yet
Development

No branches or pull requests

3 participants