Tom, any luck on this?
Auth0 integration with Spark
I'm looking to integrate Auth0 with Laravel Spark. The information available in the Laracast at https://laracasts.com/discuss/channels/laravel/using-third-party-authentication-like-parse-or-auth0 appears to be helpful for pure Laravel, but I'm not so sure it will help me as a Spark developer.
Spark's UserRepository contract interface has the following signature which is quite different than Laravel's stock UserRepository:
public function current(); public function find($id); public function search($query, $excludeUser = null); public function create(array $data); public function updateBillingAddress($user, array $data); public function updateVatId($user, $vatId);
As you can see, getUserByDecodedJWT($jwt), getUserByUserInfo($userInfo), and getUserByIdentifier($identifier) are all missing. In my custom UserRepository do I need to implement both Spark's contract and Auth0's contract?
@glena can you provide some guidance?
Please or to participate in this conversation.