#community-help

Auth0 Rules Restricting Packages: Offering 'Typesense' Workaround

TLDR Greg provides a workaround for the package restriction problem in Auth0 rules, particularly for those attempting to add typesense.

Powered by Struct AI
May 26, 2021 (32 months ago)
Greg
Photo of md5-cc95589a5ca309cc60c36b7e901d749b
Greg
03:16 AM
(This one's just a note) I'm provisioning keys via Auth0 rules (was doing the same thing when using Algolia for searching) and they limit the npm packages you can use within rules. I submitted this request to add typesense but it looks like their turnaround time is a little slow. If anyone runs into the same problem in the meantime, feel free to reach out and I'll share the workaround I cobbled together so you don't have to waste the same hours of your life that I did 😅
03:16
Greg
03:16 AM
The workaround is ugly though it's fairly generalized so you can use it to get around their package restrictions for other packages as well.