In Lumen 5.1 I used the out-of-the-box onceBasic authentication as described here: Laravel 5.1 Docs
In Lumen 5.2 I could only find the onceBasic method in the SessionGuard.php.
Unfortunately i'll get a
Class session.store does not exist
trying to authenticate with this guard.
This makes sense since Sessions aren't available in Lumen 5.2.
However, i'd still like to use HTTP Basic Auth for my application.
For now I wrote my own BasicGuard which is mainly the SessionGuard but without all of the session stuff.
This works great for me, but I'm wondering if there is a better fix for this - or maybe this isn't even a problem and i'm missing something?
So my final question is eventually:
**1. How to authenticate with HTTP Basic Auth _(in Lumen 5.2)_?
5.2)_?**Cheers,
Chris
Sorry, we don't process questions on our issue tracker. Feel free to discuss anywhere else though.
Ok.
If someone is interested in my own HTTP Basic Auth Guard:
Most helpful comment
Ok.
If someone is interested in my own HTTP Basic Auth Guard:
https://github.com/arubacao/http-basic-auth-guard