Copy-paste agent prompt
1. Verifying existing Supabase users
Use your Supabase service-role client insideresolveAccount to look up the user by normalized email:
app/api/notes/route.ts
2. Enabling agent signup with Supabase
To let agents provision accounts on an explicit signup route, call the Supabase Admin Auth API:app/api/signup/route.ts
email_confirm: trueAgentOnboard verifies the User’s email before issuing any token, so you can pass email_confirm: true without sending a duplicate confirmation email.