Hi, new to SuperTokens. For my project I need to create an admin (as a role) automatically on the first launch of the web application with some default credentials (Potentially unsecure, but I'm doing this for quick prototyping and not for prod). What would be the recommended place to tinker with? I was thinking of using the SuperTokens docker with a Postgres docker and populate the db with some creds after the table creation, but I'm unsure if this is the ideal approach and if there's an easier way out. Thanks.
digggy
03/28/2024, 3:06 PM
Creating a thread to continue discussion
r
rp_st
03/28/2024, 6:13 PM
The best way would be to setup some sort of script which just calls the sign up API once the core has started.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).