Hello, I was recently digging into the Ktor Authen...
# ktor
h
Hello, I was recently digging into the Ktor Authentication plugin and some of the code snippets. I realized there weren't any examples that went end-to-end with saving users in a database etc. Would it be worth it to have a full end-to-end example for that or some boilerplate to get started with auth that includes persistence?
👌 2
I started working on one here: github.com/horatiothomas/ktor-exposed-auth. Just has auth-form/session web-auth for now. Planning on adding jwt and oauth and a kmp app example in the future. Feel free to use it or take a look and see if I missed anything.
🙌 2
s
You can find another one here, github.com/nomisRev/ktor-full-stack-real-world/blob/…/UserService.kt. It uses Bouncycastle for Argon2 with Exposed and Ktor Auth for full user management with rotating salts.
h
@simon.vergauwen nice this is good! I'll take a deeper look into this. I also wanted to have a web example for myself as well.
I also wanted to have more of a template for when starting new projects