Skip to content

How to make an auth provider for non "user-like" models #3641

Answered by thetutlage
un-versed asked this question in Help
Discussion options

You must be logged in to vote

You will have to switch the guard explicitly. auth.use('companyApi').user!.roleId

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Help
Labels
None yet
2 participants