firebase / firebase/firebase-functions
[FR] please add onSignIn to auth function trigger
Open
api: auth
feature request
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 232
- Avg merge
- 20h 46m
- Merged PRs (30d)
- 15
Description
### [REQUIRED] Version info
9.15.0
**node:**
16.18.1
**firebase-functions:**
0.9.0
**firebase-tools:**
11.18.0
**firebase-admin:**
11.2.0
### [REQUIRED] Expected behavior
Have function to trigger after user signin like `onCreate` function
```js
functions.auth.user().onSignIn((user,context) => {
});
```
Because beforeSignIn is blocking function and trigger just before user successfully signed in. It not a proper function to take a log and monitoring user signing in or taking any complicate action. I want this function to just notify the server and can run the long running task
Contributor guide
Assessment
This issue has not been assessed yet.