Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would love to see some code examples on the homepage.

When I did find some code, using "recipe" and "recipeList" in your packages and examples was confusing. At first I thought the example code was a recipe app as the hello world.

What exactly is a "recipe" in the context of supertokens?



I understand your confusion. You are right, we need to improve our explanation.

A recipe is essentially an auth experience. So auth with email + password (with forgot password & email verification) is a recipe.

Social login is another recipe. This recipe is independent to the one mentioned above.

There will also be a recipe that has both, social login and email password (like other auth providers).

The idea behind recipe is to allow devs to pick only what they want and not have to think about anything else - making development easier for them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: