You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the polymorphic relationship 'tokenable' of a PersonalAccessToken is not Nullable. This forces tying a token to a model.
I'm looking to create two types of tokens:
The usual authentication tokens (also handle authorization via abilities).
Tokens solely for authorization. These can be given to unauthenticated requests (e.g. no specific user logged in) that need a bit more access than just 'guests'.
For this last purpose it would be nice if Sanctum supports creating (and using the authorization checks of) tokens that aren't tied to an application model.
The text was updated successfully, but these errors were encountered:
Hi,
Currently the polymorphic relationship 'tokenable' of a PersonalAccessToken is not Nullable. This forces tying a token to a model.
I'm looking to create two types of tokens:
For this last purpose it would be nice if Sanctum supports creating (and using the authorization checks of) tokens that aren't tied to an application model.
The text was updated successfully, but these errors were encountered: