https://kotlinlang.org logo
#ktor
Title
# ktor
d

Dzmitry Neviadomski

05/27/2019, 11:57 AM
Hi, anybody knows good tutorial for auth in ktor? I found official documentation and samples too difficult to understand for a newbie like me. Where should Credentials come from? What's the need for Principal and where is it stored? I want to build a simple website with ability to register and login for user. I made a simple form and just store credentials in database and session in cookies, without any usage of Authentication plugin. I just check in needed endpoints, if there session stored, otherwise redirect to login.
b

brian

06/04/2019, 3:58 PM
You can go to raywenderlich site on ktor
d

Dzmitry Neviadomski

06/04/2019, 10:22 PM
Their tutorials are paid, aren't they?