N
Novu7mo ago
jcsix

Best way to handle SubscriberID and Auth0?

Hi all, big fan of the work and we're looking to use novu for our workplace in our internal systems We use Auth0, all our staff are in Auth0. As we want to send out specific notifications our on our platform depending on the role, We'll need to have the subscriberID stored in our users metadata. I'm just wondering what, would be the best way around this? We have our codebase all splitout on the backend into small components (Catalogue Component, Inventory Component, Manifest Component etc) and don't have a User Component as, we just use Auth 0. Do you think adding a custom flow into Auth0 login would be the best possible way to get this data?
5 Replies
Pawan Jain
Pawan Jain7mo ago
Hi @jcsix We recommend subscriberId to be unique userId that you use in your system auth0 generate unique userId during signup?
Prosper
Prosper7mo ago
Hey @jcsix, as someone that has used Auth0 heavily in the past, you can make a call to store the auth0 id directly on Novu from the callback after sign up. Here’s a demo app of me using Auth0 and Novu https://novu-notifications-vue3.vercel.app/
Novu Sample App
Learn how to add Notification and Authentication to Vue 3 apps easily.
Prosper
Prosper7mo ago
jcsix
jcsix7mo ago
Oh wow, thank you both for the super, super help ❤️ I really cannot thank the two of you enough 😄 We love Novu here, and super happy with the discord too!
Pawan Jain
Pawan Jain7mo ago
Thanks for your kind words @jcsix
Want results from more Discord servers?
Add your server
More Posts
Worker is not processing notifications.I have self-hosted Novu, API (api:0.18.0) and worker (worker:0.18.0) we have deployed in the k8s cluActorSubscriber is alway nullWe are evaluating Version 0.21 at the moment. We can Push events and also define the "actor" with thTrigger Event to topic, see topic in messageWe are triggering events to a topic with some subscribers. How is it possible to get for each event Pre-requisites of deploying NovuCan someone give me the basic requirements to start novu inside my kubernetes cluster? Like bare minIs it possible to have custom button other than CTA buttons in notificationFor example adding more info button inside notification which redirects Is this possible by making uTwo different events with different email addresses are sent to the first email addressHello, I have been using novu for a short time in my work. I have been using it regularly to send emIf I use topic subscription, is there a group selector in the digest?Hi I am using topic subscription, Is it possible inside the digest to get a "groupBy" topic for the Selecting one of many MSteamsI'm trying to add a new step in a workflow(chat-MSTeams). But I have couple of providers added for MUpdating Message CTA Button status using TransactionIdI am sending notifications which contains CTA buttons (Approve and Reject) to multiple subscribers uNot able to send subscriber email, first name and last name when using iFrameShould I include the first name, email, and last name in the API request for this issue?https://gith