Skip to content

[Future] Fix issues in register donor page#227

Open
jamessspanggg wants to merge 2 commits intomasterfrom
fix/google_auth_allow_select
Open

[Future] Fix issues in register donor page#227
jamessspanggg wants to merge 2 commits intomasterfrom
fix/google_auth_allow_select

Conversation

@jamessspanggg
Copy link
Contributor

  • Allow user to select for a particular google account instead of automatically selects the previous one
  • Change from sign in -> register

Fixes issue 9 in google docs

const provider = new firebase.auth.GoogleAuthProvider();
// allow user to select own account
provider.setCustomParameters({
prompt: 'select_account',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By setting this, means that when you login, you will always need to select an account?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To add on, when currently using desktop (safari, chrome), it always asks to select an account. But only for mobile, it automatically selects.

This addition causes the mobile to ask for selection before logging in as well.

@jamessspanggg jamessspanggg changed the title Fix issues in register donor page [Future] Fix issues in register donor page Aug 3, 2020
@jinyingtan jinyingtan added the KIV label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants