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
In core framework, getAuthIdentifier() is used to get user identifier for authentication.
However, in passport getKey() is used to get user identifier.
In core framework,
getAuthIdentifier()
is used to get user identifier for authentication.However, in passport
getKey()
is used to get user identifier.Below are the places where made us confused:
passport/src/Http/Controllers/AuthorizedAccessTokenController.php
Lines 35 to 42 in 4e3390e
passport/src/Http/Controllers/AuthorizationController.php
Lines 107 to 116 in 55c1c54
In our case, we used uuid as auth identifier but kept primary key as
$primaryKey
field for relationships.Would you consider to change to use
getAuthIdentifier()
to be in sync with core framework design?The text was updated successfully, but these errors were encountered: