Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unauthenticated exception #33

Closed
ilic993 opened this issue Jun 9, 2019 · 1 comment
Closed

Unauthenticated exception #33

ilic993 opened this issue Jun 9, 2019 · 1 comment

Comments

@ilic993
Copy link

ilic993 commented Jun 9, 2019

Seems like I am doing something wrong and it would be of real help if someone could point me out to my mistake.

I have an custom auth guard:
'admin' => [ 'driver' => 'session', 'provider' => 'admins', ],

Which I am using in the laraberg:
'use_package_routes' => true,
'middlewares' => ['web', 'auth:admin'],
'prefix' => 'laraberg'

Thing is, everything works like a charm but when I enter debug in VSCode and click on a block in laraberg I get an error like this:
https://i.imgur.com/9Isprpx.jpg

It does not quite make a problem but still I don't like errors in my projects :D
Thank you.

@mauricewijnia
Copy link
Member

Seems like Laraberg requests are not sending all the information that your middleware needs.
Could you capture a request that does pass your custom guard and the laraberg block request and paste the headers of both of those requests here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants