I am working on a Laravel 8 API. I use Auth0 for user registration and login. At registration, I need the user’s id returned by Auth0 (as user_id), in order to insert it into my own users table, in a column called uid. Also, once a user is logged in, I need to display the user’s data at myapp.test…
Tag: auth0
Auth0 “Invalid state” exception with Laravel 8 and Auth0 plugin 6.2
Recently upgraded our stack to use PHP 8 and Laravel 8.22 This required an upgrade within composer of the Auth0 library: “auth0/login” from “5.4” to “6.2” The code snippet that creates the error is this: When trying to get the user, the app fails with The Auth0 logs online …