I am running into an issue described here: https://community.auth0.com/t/post-login-trigger-only-firing-for-one-application-in-my-tenant-why-not-the-others/182462
Basically, I have a custom action that is triggered post login for my tenant that serves to attach custom metadata to a user’s id token via api.idToken.setCustomClaim()
. In apps using the old v3 SDK, this metadata is returned with the user
object from useUser
without issue. In the beta v4 SDK, this metadata is nowhere to be found.
Is there some action I need to take to ensure my metadata is attached to my idTokens in the V4 SDK or is this a bug?