I’ve been trying the actions editor that the help says that it features typescript, but I can’t make it work. Is there any way to write actions in typescript?
I’ve written this action with Node16 and it does not compile, however the editor understands perfectly the interfaces of the objects from Auth0 for example:
+1 to this. We have migrated our actions to Typescript and have them in source control and are very much in need of these types. What we have resorted to doing in the mean time is combing through the documentation pages with the assist of ChatGPT and generating our own types files.
If we complete this before Auth0 provides something official, happy to open source them and post here. It would be great if we could get something official from Auth0 though
Since this topic touches Auth0 Actions, quick heads-up that we’re hosting an Ask Me Anything dedicated to Actions with Gaston Danilo Asis Sanchez, Senior Technical Product Manager. We’ll cover practical usage, new capabilities like Transaction Metadata and Actions Types, plus a peek at what’s next.
Submit questions now through Aug 26
Get detailed written answers live on Aug 27, 9–11 AM PT
Earn community points + a badge. If you’re exploring how Actions can streamline your auth flows, this is a great time to get direct guidance from the team. Join the AMA & drop your questions here:August 27 Auth0 Community Ask Me Anything: Actions