eficode / pipeline-the-game

A digital version of: https://www.praqma.com/stories/pipeline-card-game/
GNU General Public License v3.0
24 stars 2 forks source link

Error "Missing or insufficient permissions." when capital letters are in the email address #275

Closed sofusalbertsen closed 3 years ago

sofusalbertsen commented 3 years ago

Steps to reproduce: Try to sign up with Test@eficode.com When clicking sign up, your get the error message: "Missing or insufficient permissions."

Changing it to lowercase solves the problem Screenshot from 2021-04-09 07-45-49

rams23 commented 3 years ago

@sofusalbertsen firebase internally creates the user token with the lowercase email. While creating a user record in the database we check that the email is the same as the one in the token. #276 forces the email to be lowercase and solves the problem

sofusalbertsen commented 3 years ago

Wow that was fast! Thanks @rams23 !