Skip to content

Authentication service using spring boot security

Notifications You must be signed in to change notification settings

pedro-cze/auth-service

Repository files navigation

auth-service

Build Status LINE

Authentication service using spring boot written in Kotlin

Build

./gradlew build

Auth & Registration Endpoints

Every authentication request is served by single endpoint that can be accessed through POST {host}/auth/login. The service then verifies provided credentials (username, password) and returns either generated API token in case of success or 401 - Unauthorized otherwise.
Registration is only allowed to user with admin rights.

Database

The service uses Postgres as its primary datasource.

Docker

To build and run the service in a container fire one of following commands.

  • docker build -t pedro_cze/auth_service .
  • cd ./docker && docker-compose up -d

After that the service is exposed on port 8083.

About

Authentication service using spring boot security

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages