com.darkndev.ktor-auth
User authentication with Ktor server
Usage
- Server Configuration before starting – Set Token Expiration, Token Issuer and Audience in application config and secret in Environment variable.
Configuration.mp4
- Creating User and hashing the password –
Creating.User.mp4
- Signing User and generating Token –
SigningAndGeneratingToken.mp4
- Authorising user using generated Token –
AuthorisingUsingToken.mp4
Libraries Used
Content Negotiation, Kotlin serialization, Logging, JWT Authentication, Exposed with H2 Database, Apache commons codec and HikariCP network pooling.
Links
Android app for usage KtorAuth