What is equivalent to context.renderLanguage from hooks in actions

One of the context parameters available in the pre-registration hook is context.renderlanguage which describes as the language used by signup flow. How do get I this value in the new actions api?

Hi @malith.kuruppu,

Welcome to the Auth0 Community!

The corresponding property for context.renderlanguage in a Pre-User Registration Action is event.request.language.

event.request

  • language Optional string. The language requested by the browser.

(Reference: Actions Triggers: pre-user-registration - Event Object)

Please let me know if you have any further questions.

Cheers,
Rueben

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.