
I'm using the Google OAuth login in my app, and want to run a function on each user creation. But as of now, it's not possible due to a bug (ref). My main plan is to create a document under the "Users" collection on each user creation. So can anyone think of any alternative/workaround to it?

Trigger on session creation and check if it's an oauth session and then try to fetch the document to see if it already exists. If not, create it

[SOLVED] alternative to users.*.create function event with OAuth login?
Recommended threads
- How to ByPass the Hostname restriction f...Hello, Im hosting my React application in a stateless server environment, where the IP of the client keeps changing for the server. How do I bypass the hostname... 
- Email templates partially broken in non-...Good afternoon! Non-english locales are missing some variables introduced in recent releases. That makes the sent emails look bad. The issue has been raised a... 
- AI feature by functions?I'm creating a website where, in short, users can index certain genealogical content. In connection with the development of AI, I was thinking about introducing... 
