$4.99
Description
JWT Token App is an indepdendent Spring Boot Micro Service with specific focus on the functionality of managing JWT Token pairs. I’ve personally have integrated with it – Google Login Micro Service. But you are open to plug-in any other Login Logic or Service.
Create New JWT Token Pair Endpoint
Creating a fresh new JWT must happen only after successful authentication. This is why, I’ve included request verification. Optionally – this endpoint could have IP white-list. I’ve implemented in the past – Application Level White List – Micro Service.
Refresh/Regenerate Token Pair Endpoint
Second to important is the ability to extend the session of the user – by regenerating their JWT Tokens pair. The user must provide Refresh Token that:
- Is issued by this Micro Service. The check happens with Private Key verification
- It is not yet – expired.
Is JWT Token Expired
You will not need to implement JWT stuff in every Micro Service or App. You are provided with an Endpoint that checks the token expiration time. This Miscro Service checks the JWT for Cryptographic Validity with the creation private key, because no database access is needed for this functionality.
Ger Username/JWT Claims/Content/User ID/
JWT Tokens offer Cryprographic security and User Authorization. But, for your other Micro Services – the most valuable part – is the content of the JWT Token. It is the User ID. You may access anybody’s JWT Content with services like https://jwt.io/, but what is important is – who issued it.
TODO
There are some TO-DOs that you may need to finish before using this App – if you buy it.
- Setup the Database where you will store your tokens
- Generate new keys and place them in application.properties. Also add additional jwt.secret
- update the create new request validation that only you will know