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

Can't Sign In #151

Closed
dylangolow opened this issue Jul 21, 2020 · 3 comments
Closed

Can't Sign In #151

dylangolow opened this issue Jul 21, 2020 · 3 comments

Comments

@dylangolow
Copy link

Describe the bug
A clear and concise description of what the bug is.

Follow Google Sign-In flow, Google Sign-In enabled in project, modal "succeeds" then toast notification shows "This account does not exist" although the user exists in firebase after modal exits. Same behaviour on retry.

To Reproduce
Steps to reproduce the behavior:

  1. Click 'Sign In with Google'
  2. Click on Google profile. Successfully receives token from Google when checking console.
  3. Modal exits and toast appears saying "This account does not exist." in green with a checkmark icon.

Expected behavior
A clear and concise description of what you expected to happen.

Expected to be signed in.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS Catalina 10.15.5 (19F101)
  • Browser Chrome
  • Version 83.0.4103.116 (Official Build) (64-bit)
    Screen Shot 2020-07-21 at 12 38 28 PM
@shamsmosowi
Copy link
Member

hi @dylangolow
the reason for this error is that your account does not have any roles in its custom claims, we'll be releasing setup tool and role-based permissions system to make this easier to manage your Firestore rules soon. For now, I made this script to help you setup your account claims so that it works on firetable https://gist.github.com/shamsmosowi/05e67b7dedf8567181e1d7feee80d3aa

@dylangolow
Copy link
Author

dylangolow commented Jul 24, 2020 via email

@shamsmosowi
Copy link
Member

added documentation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants