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
You've probably moved on, but I worked this out the other day.
You don't overwrite the retriveByCredentials method if using user_provider_custom_retrieve_method, that variable defines the name of the additional function you add to your custom UserProvider class. Can name it anything, just supply the name. That function will take two parameters, $token & $credentials.
However there is currently a bug with the package, and it fails to load the user_provider_custom_retrieve_method value, I've created a PR to fix the issue, and added a small additional explanation to make it clearer how you're supposed to use it.
Since I've no way of knowing when the PR will be merged, take a look at the PR to see the 1 liner you need to change to make it load the ENV variable.
Can anyone guide me on how to implement the custom method?
if i understand it right:
Am i right? am i missing something? WOuld be nice to get some help, maybe someone could point me to a relevant tutorial or something. Thanks.
The text was updated successfully, but these errors were encountered: