pmcgeever / auth-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring JWT Demo

Description

This is a demo project for an authentication service using JWTs.

I created it only for playing around with JWTs using Spring.

It should not be used in production!

How to use

Configure

Build/Test

Package

Run

An accessible mysql db will be required for the service to connect to. If you have docker installed you can use the provided docker-compose.yml to launch a MariaDb and PhpMyAdmin.

Start local MariaDb:
$ docker-compose up -d

Stop:
$ docker-compose stop

API

actuator/health --> View the health of the application

actuator/info --> View information about the application

actuator --> 

Links

Implementing JWT Authorization and Authentication in Spring by Yigit Erinc

Simple Spring Boot app

How to fix Spring Boot application terminating immediately

About


Languages

Language:Java 93.0%Language:Kotlin 7.0%