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
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
This is not covered in the documentation so it took me quite a while to figure out.
When adding 'auth' middleware to the config/graphiql.php file, you must also specify 'web'
This isn't something that is required when setting up routes in the Laravel way (eg. via web.php), so it's not very obvious. In other words:
This works
'middleware' => ['web', 'auth']
This does not
'middleware' => ['auth']
Without the 'web' middleware, you are simply redirected back to the same page without any sort of error or message.
The text was updated successfully, but these errors were encountered: