My stack is NextJS and Appwrite Cloud. I am trying to automatically apply a label named "applicant" to new registrants through a form. Is this possible at all? I have been looking for a few hours and can't seem to find a way to do it efficiently.
You can create a function to watch for the event users.*.create
and assign the label then. Labels need to be assigned using the server side SDK.
You'd use this method
https://appwrite.io/docs/references/cloud/server-nodejs/users#updateLabels
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems