Skip to content

callmeBron/spring-boot-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

R800x0

spring-boot-authentication

A repo dedicated to exploring and adding different types of authentication with Spring boot!

Why do we need to secure an application

Imagine you have an application with customers and their transactions. We wouldn't allow anyone who is not authorised to access this information, which means we need to implement a security layer to protect the data.

Currently covered in this repo:

  • Basic Authentication

To be covered in this repo:

  • JWT Authentication
  • OAuth2 Authentication

How to run this repo

  • Basic Authentication:

Run the application 'BasicAuthentication', in the console you'll receive a generated password ('as this is just for example/practice purposes this is totally fine'). Use this to login on the login page at the endpoint 'http://localhost:8080/api/v1/paymentsPortal/users' the username will be the default 'user' name.

example

image image

About

A repo dedicated to exploring and adding different types of authentication with Spring boot:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages