Skip to content

Conversation

@evansims
Copy link
Contributor

Ensure changes made to the user object during the onLogin event hook are stored and propagated for later use, as suggested here.

@evansims evansims requested a review from a team as a code owner February 16, 2021 22:53
@evansims evansims added this to the 6.3.0 milestone Feb 16, 2021
@evansims evansims merged commit 7ffa11f into master Feb 17, 2021
@evansims evansims deleted the feat-sdk-2318 branch February 17, 2021 13:03
@JoeyHoutenbos
Copy link

@frederikprijck with this change the onLogin callback now has to return an array instead of Auth0\Login\Auth0User object.
But an array obviously doesn't implement the Illuminate\Contracts\Auth\Authenticatable class which is required for the Auth::login(...) call here: https://github.com/auth0/laravel-auth0/blob/master/src/controllers/Auth0Controller.php#L51

So I don't get how this is supposed to work. Could you please help me out?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants