Hi all, I’m developing a serverless application using vercel and nextjs and I want to update a user’s app_metadata when they purchase a product (allowing them access to new pages etc).
I am fairly well aware that I am unable to modify app_metadata in a serverless application due to auth0’s restrictions (for security reasons).
I am wondering how I can navigate this problem and what my options would be.
Where are you seeing this policy? Generally, you can’t update a user’s app_metadata directly from a client side application. Is that what you’re thinking?
Hi, yes I believe that the restriction is prohibiting the modification of app_metadata through a client sided application. I haven’t been able to find any way to run it “server sided” though.
This topic seems related to the new Auth0 Integration available new in Vercel Marketplace. This is the first version of this integration, and we welcome your feedback to improve future iterations.
You’ll need an existing Vercel project to use the new integration to build and customize the Identity flow. You can either import your project into Vercel or use a Vercel template so you don’t have to start from scratch like our SaaStart template to deploy a production-ready B2B SaaS app in minutes (learn more here).
If you find yourself having questions regarding this new integration for the next two weeks, we are hosting an Ask Me Anything session. Our Product Expert will provide comprehensive written answers on August 8th from 8 AM to 10 AM PST.