Flamingolo / game

Text based web game
1 stars 0 forks source link

Implement authorization with jwt from login in other logic #68

Closed olegsiga closed 2 months ago

olegsiga commented 2 months ago

Implement authorization with jwt from login in other controllers except user controller Create JWT Middleware Utility in utils directory which would be used in controllers to authorize requests Attach Middleware to Protected Routes whitelist emails olex@deez.nuts and ingo@deez.nuts