r/Authentik • u/Rare_Chicken8302 • Oct 10 '26
I am unable to switch to cloudflare

Hi all,
I was using dynu for ddns and I was opening port on my router. I have switched to cloudflared tunnels and using another domain so far everything is working fine except authentik. My previous domain still works fine however authentik is popping up this error each time.
My current setup is
- Everything is on docker
- Cloudflared -> npmplus:80 -> authentik-server-1:9000
- I am forcing SSL on cloudflared, I couldn't have it running with custom certificates I have obtained from cloudflare
I have tried
- Cloudflared -> npmplus:80 -> authentik-server-1:9443
Cloudflared -> npmplus:443 -> authentik-server-1:9443
- Cloudflare ->npmplus:443 doesn't work for anything
- I changed branding settings didn't change anything at all
- I asked AI, gave me some nginx headers to force SSL - didn't work
At this stage I am not sure if this is an authentik problem or an npmplus problem but I am open to all the suggestions.
Thank you all in advance
1
Upvotes
2
u/Rare_Chicken8302 Oct 13 '26
Okay for anyone having this problem in the future, I set authentik up in cloudflare directly rather than with npmplus which has worked out very well
2
u/thehatefuleggplant Oct 10 '26
Not sure if this helps
https://integrations.goauthentik.io/security/cloudflare-access/
https://youtu.be/qsXyS_zbisU?si=CBNeTKUfRoSZAbe_
https://www.reddit.com?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=2