Skip to content

DarkNDev/com.darkndev.ktor-auth

Repository files navigation

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

  1. Content Negotiation
  2. Kotlin serialization
  3. Logging
  4. JWT Authentication
  5. Exposed with H2 Database
  6. Apache commons codec
  7. HikariCP network pooling.

Links

Android app for usage KtorAuth

About

User authentication with Ktor server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages