Pre-user registration action

does pre-user registration action get triggered for first-time users coming through SAML connections?
I want to add some attributes to the app_metadata of every user while onboarding them, what would be the best way to do it?
I tried using api.user.set_appmetadat("key", "val") through pre-user registration action, for some reason it doesn’t reflect.

Hey there @ranjeet.kumar welcome to the community!

The pre-user registration action is not triggered for incoming SAML users (same goes for social connections like Google, Facebook).

Your best bet is to use a post-login action instead.

Hope this helps to clarify!

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