Update on 3/25/2024:
Backend updated code is in my repo branch: backend-development
Logic for all entities API endpoints is written with the role based validation.
Started testing the Category creation API endpoints as a ADMIN(Role) but got an error with this message:
io.jsonwebtoken.io.DecodingException: Illegal base64url character: ' '
at io.jsonwebtoken.io.Base64.ctoi(Base64.java:221) ~[jjwt-api-0.11.5.jar:0.11.5]
at io.jsonwebtoken.io.Base64.decodeFast(Base64.java:270) ~[jjwt-api-0.11.5.jar:0.11.5]
-> Since my User API endpoint is working with the same logic and token, I'm bit confused on this issue. I plan to look into this error on 3/26/2024.
Progress:
ToDO: