Hi there,
Is there any user data exposed to the embed event?
I would like to run certain scripts based on the user itself.
https://directus.io/docs/guides/extensions/api-extensions/hooks#embed
Hi there,
Is there any user data exposed to the embed event?
I would like to run certain scripts based on the user itself.
https://directus.io/docs/guides/extensions/api-extensions/hooks#embed
To my knowledge, the embed hook does not expose any user data.
If you need user data in your hook, you’d want to use a different hook type that runs in an authenticated context, like:
What specific user data are you trying to access? That might help determine the best approach for your use case.