How to make an auth provider for non "user-like" models #3641
-
Beta Was this translation helpful? Give feedback.
Answered by
thetutlage
Apr 5, 2022
Replies: 1 comment
-
You will have to switch the guard explicitly. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
un-versed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will have to switch the guard explicitly.
auth.use('companyApi').user!.roleId