Hello, wanted to say that I'm struggling a little running the user roles recipe on Safari (works on Chrome) due to line 47 of logger.js: "return errorStack[i].match(/(?<=\().+?(?=\))/g);". This kind of regular expression is not supported in Safari and gives a "SyntaxError: Invalid regular expression: invalid group specifier name". Are there any fixes for this so that I could run my webite on Safari?
Edit: logger.js is at supertokens-node/lib/build/logger.js
r
rp_st
08/02/2022, 12:53 PM
Hey! Can you open an issue about this on our repo? We can fix this.
rp_st
08/02/2022, 12:53 PM
Also, the user roles recipe is something thats a backend thing - how is that causing issues on the frontend?
g
gabrielius7369
08/02/2022, 1:29 PM
Great point! I believe I have messed up my import statements in my Next.js files! Hopefully sorting this out will fix the issue! Thank you!
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).