Hello there. Could you please help with my issue?
I added a library (https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js) to my organisation and now I can call its functions from any apps, but not from API custom auth Javascript. What's wrong?
Hey @AlexanderM - thanks for reaching out. The primary issue here is the fact that JS defined as part of a custom authentication flow is all executed server side. This means it doesn't have any information about the execution environment that you've configured for the browser. You'll need to configure the server's environment separately.
The following snippet is essentially the same as what you're trying to do and should work without any issues.
Let me know if you have any additional questions!
1 Like

