Skip to content
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

How to bypass Cloudflare Tunnel one time PIN authentication #48

Open
patkoproperty opened this issue Jan 5, 2024 · 2 comments
Open

Comments

@patkoproperty
Copy link

I have an issue though once I set up authentication on my Cloudflare tunnel Eg One time PIN, the app will not work.

I check ur GitHub and the solution seemed to be using "Custom Header with API requests" (#11)

But I am not sure how to set it up in the Extra Headers.

I tried setting up two headers
CF-Access-Client-Id: xxxx
CF-Access-Client-Secret: xxxx

But still does not work.

Any advice on how to set up the app to work even with One Time Pin authentication

@zaromarco
Copy link

I was wondering also if the server is behind nginx+authelia for 2fa if the app works but I don't think so...any solution appreciated

@paulgessinger
Copy link
Owner

@patkoproperty I personally don't use CloudFlare tunnel, so I don't know exactly what the problem might be. Someone over on the discussion on the paperless-ngx repository, someone asked about this, and they seem to have gotten it working: paperless-ngx/paperless-ngx#3283 (comment). Maybe that would be a good starting point?

@zaromarco This is tricky. For Authelia, I believe people have worked around this by disabling Authelia for the /api endpoint. I'm actually setting up Authelia myself now. I created an issue for this: #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants