-
Notifications
You must be signed in to change notification settings - Fork 372
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
v12.6.0 Cloud Function Authentication Triggers - no longer working #2782
Labels
Comments
I found a few problems with this issue:
|
Used //@ts-expect-error and it cleared away - not sure what's the issue there
|
That has just led to this error:
|
Found a fix here:
or
Please update the documentation! That's a breaking change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
The documentation for the auth triggers is no longer valid
https://firebase.google.com/docs/auth/extend-with-functions
Steps to reproduce:
Using v12.6 of the firebase-functions package the below trigger is invalid:
I am currently refactoring to use a blocking function - only because the project is new and I can afford to do this
What happened? How can we make the problem occur?
Run firebase init and try to set up a cloud function with an auth trigger as described in the documentation.
Relevant Code:
The text was updated successfully, but these errors were encountered: