markcdev101 / spring-flavour-vault-backend

Repository for backend code for Flavour Vault
0 stars 0 forks source link

Ticket 33: Include User Role(s) in the JWT Payload #30

Closed markcdev101 closed 1 week ago

markcdev101 commented 1 week ago

Description: Need to include the user roles within the JWT Token, to allow React App to use it for Authorization

Guide: In SpringBoot, add the roles into the claims object for the token