Closed nicolasflorth closed 6 years ago
Hi Nicolas.
You can call your controller normally.
What I wanted to show is how you can get the user's logged in according to their guards using the Illuminate\Http\Request
or Illuminate\Support\Facades\Auth
.
Regarding the error Class SMartins\\PassportMultiauth\\Http\\Middleware\\MultiAuthenticate does not exist
, you probably followed the dev-master
instructions and downloaded version 1.0.
To use "dev-master" version you should run composer require smartins/passport-multiauth:dev-master
. Don't forget that add to your composer.json
the options "prefer-stable": true
and "minimum-stability": "dev"
.
If you want continue using the stable version (1.0) follow this intructions.
I hope it helps!
Any doubt I am available.
Regards, Samuel.
I get stuck when I need to use this part
If I need to to the Registration, like
I am lost.... It will be really nice to see an implementation with a frontend. Maybe somebody can share one. Regards, Nick