Next.js Discord

Discord Forum

How can I determine (in webhooks) the language the user has used during the email sign-in/-up flow?

Unanswered
South Polar Skua posted this in #help-forum
Open in Discord
South Polar SkuaOP
Hi 👋

We are sending our own emails using the email.created webhook.

While testing we are running in a problem that we seem to have no way to detect in which language we should send the sign-in/sign-up email.

- We have configured the clerkLocalization prop on the Next.js ClerkProvider component.
- We can detect it using publicMetadata after the initial sign-up (but by that time it's too late)

Do you have an idea how to solve that issue?

0 Replies