Well, now I wish I was a good internet citizen and came back to share my fix...
I eventually did get everything working with my Entra auth for users, but I don't remember how. Which would come in really useful right now, since I'm trying to do a 'lift and shift' of the setup (still Docker) to a new server, and it's doing this same thing again:
- New users can log in via Entra OAuth2, but once they've logged out or the session expires, the login does not work any more.
- Existing users who have already logged in with OAuth2 once now can't log in at all - they're redirected to the home screen without being logged in.
I've been trying to figure this out for two days, now. Http headers, Entra app secrets, reverse proxy setups, php versions, file permissions - I've tried every 'fix' and bit of advice I can find! I really with I'd noted down what I did before!
If anyone has any suggestions that might save me from starting over from scratch, please share!