Ktor Auth Jwt Sample Save

A simple but slightly more elaborate example of how to include JWT in the Ktor application flow.

Project README

Ktor Authentication using Json Web Token

A simple but slightly more elaborate example of how to include JWT in the Ktor application flow.

Module.kt contains the server setup, including the Routing.

There is a public login route, which responds with JWTs.

These are used to access the secret route.

The JWT configuration can be found in JwtConfig.kt.

Tests can be found in ServerTest.kt

Open Source Agenda is not affiliated with "Ktor Auth Jwt Sample" Project. README Source: AndreasVolkmann/ktor-auth-jwt-sample
Stars
114
Open Issues
2
Last Commit
5 years ago
Tags

Open Source Agenda Badge

Open Source Agenda Rating