How to know the clientid/application the user is using for sign up with Auth0 Hooks

Hello, I need to know what application the user is using for the signup because I need to insert that user in the corresponding environment database.
I debugged the hooks context object and didn’t find any useful…

Thanks in advanced,
Jean

Hey there!

You can get that using Rules context object and its properties:

Hello Konrad, I’m using the Post User Registration Hook not a Rule.

Thanks,
Jean

I checkd the Hooks docs right now and the only thing I could have thought of that will provide you with the clientID / application is app_metadata:

so you can use certain info to each app / client app_metadata so you can differ based on those as app_metadata cannot include directly thee clienID. More on that here:

:confused: :confused: :confused: