-
Notifications
You must be signed in to change notification settings - Fork 35
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
Proxy Hosts don't redirect to Authelia #3
Comments
@mytikasol Silly question here but have you also put the Authelia conf on your host for Authelia in NPM? |
Yes sir. I should've included that as well. Here's my Authelia portal.conf for id.MYDOMAIN.net: location / {
|
Ok thanks for that. I'm about to go on the computer to check everything out better |
Oh no worries! I totally get checking the basics first. I did try incognito mode, as well as on my iPhone with LTE in case my local IP was bypassing Authelia somehow. I'm able to successfully authenticate with id.MYDOMAIN.net, including with google authenticator, so I feel like I'm just overlooking something between the Authelia Portal conf and the Endpoint conf. I dug through the Unraid support forum and authelia.com docs for hours trying to tweak it, but I admit that web security isn't my strongsuit. |
Ok so I tried to use your protected conf and it just wasn't right. Can you use the following and modify it for your setup? I changed them except the container name and domain.
|
Unfortunately, I'm still getting the same result. I made sure to change my domain and container names. I tried different containers as well. I also made sure they are all on the same "bridge" connection, in case that matters. |
That's really odd. So if I understand correctly, you can hit the page with Authelia externally directly fine? And you can hit the Sonarr page externally fine? But at no point is it redirecting to from Sonarr to Authelia? Confusing, in theory it would be the protected endpoint part that needs to redirect. I'll keep thinking |
It really is! Yeah, I can access and authenticate my authelia and sonarr domains successfully outside the local network. It's like NPM is just ignoring the redirect to Authelia for some reason. Definitely weird because I've even found other people's npm confs (based off yours) on reddit and such, thinking they might be different, but no luck. It's about 1AM here in the US so I'll give it a go again tomorrow. I'll let you know if I get it resolved, or try the SWAG method to see if that works. NPM just makes everything so much easier. I really appreciate your quick responses and help so far! |
No worries mate get some sleep. If anything comes to me I'll update, cheers. And I agree NPM is nice and easy and it's worked so far so must be something small to fix this (I hope) |
As reported here, I am experiencing the same issue. If it's helpful, I can upload my configs or other info for troubleshooting. |
This is because SCHEME is replaced by HTTPS. With this replacement, we fixed one bug, but after came the second and third, there is no redirect and do not work the rules. |
Here are the right advance settings for authelia and endpoint |
I just tried replacing the authelia advanced config and endpoint advanced config (ApacheaGuacamole for first test). I updated the files with my SERVERIP, CONTAINERNAME, and YOURDOMAIN as required. When testing via a private browser window, the Authelia verification is still bypassed completely. What can I provide for further troubleshooting? |
Show your config file, and the user file. |
You can turn on the translator, and try to make this guide. Everything has to work properly. |
Here is my authelia config and my authelia users file. For the record, this installation of Authelia was working fine with the reverse proxy via LetsEncrypt/SWAG docker. I didn't change anything on the Authelia end of things when migrating over to NPM. |
You have an error in the 20th line. "", not"authelia" |
This is apparently a feature of NPM. In SWAG there is written "authelia" but with NPM+authelia, there is a mistake, I do not know why. But if you clear, you're going to do that, "" in 20 line, everything will work perfectly. |
sorry for my English, I use a translator))) |
Thanks for your help here Muwahid really appreciate your time |
Success! You were correct. Replacing "authelia" with "" on line 20 of the authelia config fixed it. Thanks so much for your help! |
Great work guys |
Hello,
I'm stumped on getting the Authelia page before my intended destination page.
After editing the Protected Endpoint.conf to my personal settings for Sonarr, I paste it in the Advanced tab of my Sonarr site in NPM, and save it. But after, when clicking on my proxy host link, it sends me straight to my Sonarr instead of Authelia.
I rewatched this section of your tutorial on youtube multiple times thinking I'd missed something, but if I have, I can't figure out what it is since it only seems to need 3 edits.
I'll post my endpoint config below (with my real domain edited out as MYDOMAIN for privacy):
Here's my ACL entry in the configuration.yml:
The text was updated successfully, but these errors were encountered: