Closed gilbitron closed 4 years ago
I feel like kind of a dummy here: I'm not sure how I'm supposed to log in via the basic auth - tried my DB credentials, but that's not working and I can't find anywhere that we would be specifying credentials otherwise?
@JRGould If you create a .env
file with APP_DEBUG=true
in it, what does the response return when basic auth fails?
@gilbitron I just get a 401 with data Invalid Credentials
.
I tried to trace it through with XDebug and it seems like the methods in DatabaseAuthUserProvider
never even get executed because it can't seem to find the credentials I typed into the basic auth modal.
Happy to do a quick screen share on Monday if you want to look into this more.
@JRGould Strange. I can't think of why this wouldn't work, and it works fine for me. Might need to arrange a screen share at some point unless some else can get it working.
Just spent some time trying to figure this out again in a new environment, I set it up in a Local container, but get the same thing. ¯\(ツ)/¯
@JRGould I just set it up fresh on my new MBP and it works fine 😆 You definitely have MySQL running locally and not on a VM? What browser are you using?
@gilbitron mind closing this issue? It haunts my mentions... 👻
@JRGould Sure no problem 👍
Resolves #22
My attempt at routing authentication to use actual database users. Currently utilises Basic Authentication but this could be replaced by an actual web interface at a later date.