bmarinovic / learn-kotlin

1 stars 0 forks source link

Add JWT authentication #4

Open bmarinovic opened 4 years ago

bmarinovic commented 4 years ago

Use UsersTable to handle JWT authentication. Find a way to easily restrict HTTP actions to specific role.

bmarinovic commented 4 years ago

Relevant: https://stackoverflow.com/questions/56300035/how-to-extract-access-rights-validation-in-kotlins-ktor