#admin middlweware

3 messages · Page 1 of 1 (latest)

hidden spoke
#

Hi, are you using JWT for the auth? if so, i think you can just decode the token on the middleware without storing the roles i guess

honest solar
#

which then in turn can validate the role