Skip to content

merugu/springsecurity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to the Code With Issues Repository! πŸš¨πŸ‡

Oh hey there, curious developer! πŸ•΅οΈβ€β™‚οΈ

Before you dive into this beautiful mess of code, why not check out the open pull request on the current branch? I've integrated CodeRabbit for automated PR reviews, and trust me, watching a bot try to make sense of this code is pure entertainment.

Hop over to the PR, let CodeRabbit do its magic, and maybe, just maybe, you'll save yourself from the horrors within this codebase. πŸ°πŸ’»

Happy coding (and good luck)! πŸ€

springsecurity

The Spring security project is used to Authenticate the user by reading JWT token from request header.

The App flow is user will singup with username,email,password the app will ask the user to login after signup. Once the user enter username and password and login using /signin restapi. The rest api will generate JWT token and send back to client. The client need to send JWT token for each request .By implementing the abstract OncePerRequestFilter the JWTFilterPerRequest will validate the token entered by the client.

Steps to test API:

1)Create a JSON with SignUP request and submit to /signup api. 2)Create the JSON for SignIn request with username and password.The JWT rest API will return JWT token. 3)Send the token in authorization request headeralong along with request for api call

About

Spring security + JWT + microservies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published