Giter Site home page Giter Site logo

ard333 / spring-boot-webflux-jjwt Goto Github PK

View Code? Open in Web Editor NEW
139.0 6.0 50.0 41 KB

Example Spring Boot and WebFlux (Reactive Web) with Spring Security and JWT for token Authentication and Authorization

License: Apache License 2.0

Java 100.00%
spring spring-boot spring-webflux spring-security jwt jjwt authentication authorization reactive spring-5

spring-boot-webflux-jjwt's Introduction

spring-boot-webflux-jjwt's People

Contributors

ard333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-webflux-jjwt's Issues

central maven publish

hello! can you publish security configuration to central maven? me need for project :)

JWT error handling

Scenario: when JWT token expired, and I am trying to access an API using the expired token, it's not handling properly, it's giving "ExpiredJwtException" exception in console, but in API response it's giving 500 internal server error with response
{ "timestamp": "2021-10-21T10:49:15.462+00:00", "path": "/auth/test", "status": 500, "error": "Internal Server Error", "requestId": "6469003d-1" }

Can you confirm if it is handled properly in your project or am I missing anything?
I have referred your project for most of the files & I didn't clone. So, confirming.

equals check in encoded password is not correct

In AuthenticationRest.java, the password checking should be "passwordEncoder.matches(requestPassword, userDetails.getPassword())", because "encode()" produces different hashes for same input, so equals won't work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.