Closed chimon2000 closed 6 years ago
@chimon2000 Running locally I was able to get an auth token to register, and when I filled out the registration form I got:
{
"error": {
"code": 400,
"message": "MISSING_EMAIL",
"errors": [
{
"message": "MISSING_EMAIL",
"domain": "global",
"reason": "invalid"
}
]
}
}
when submitting the registration. Ever run into this?
@AndrewNatoli is this error happening when you hit the auth app?
@chimon2000 Yeah, it was when trying to submit the registration form in the auth app
@chimon2000 - Auth app falls into an infinite redirect loop when you run it using yarn start-client
from the project root. If you run the app individually though it seems to work..
We'll also need a custom email handler
https://firebase.google.com/docs/auth/custom-email-handler
"You can now sign in with your new account" unfortunately isn't something valid to show our users since they need to be approved. :(
Good point, do we want to do that as part of this PR @AndrewNatoli ?
A few things missing from this PR:
[ ] Change auth from an app to a "mini-app" that can be plugged into any app
[ ] Get rid of server, each app is expected to use auth mini-app
[ ] setCustomUserClaims
should set the app + role the user has access to.