com.darkndev.ktor-auth

User authentication with Ktor server

Usage

  1. Server Configuration before starting – Set Token Expiration, Token Issuer and Audience in application config and secret in Environment variable.

Configuration.mp4

  1. Creating User and hashing the password –

Creating.User.mp4

  1. Signing User and generating Token –

SigningAndGeneratingToken.mp4

  1. 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

GitHub

View Github