Is there an easy way to bypass passwordless authentication for security scans? We were looking to use zap just in our development environment for security testing but wasnt sure on the best way for it to bypass auth. We were thinking we might just have to create another login page thats username/password for the zap user.
r
rp_st
08/10/2023, 4:42 PM
Hey. It is possible. You can directly create a session using Session.createNewSession function in a custom api on your backend
rp_st
08/10/2023, 4:43 PM
The input would be the user id for whom you want to create the session
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).