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

Add Cloudflare Tunnel or Custom Header option #43

Open
3DJupp opened this issue Dec 29, 2023 · 1 comment
Open

Add Cloudflare Tunnel or Custom Header option #43

3DJupp opened this issue Dec 29, 2023 · 1 comment
Labels
feature request New feature or request

Comments

@3DJupp
Copy link

3DJupp commented Dec 29, 2023

Hey, as I am using Cloudflare Tunnel to secure my stuff it would be great to add another layer of security, instead of basic auth and path.

I would love to see some implementation Like a JWT or Header:

https://developers.cloudflare.com/cloudflare-one/identity/service-tokens/
https://developers.cloudflare.com/cloudflare-one/identity/authorization-cookie/application-token/

Example for the Headers:

CF-Access-Client-Id: <Client ID>
CF-Access-Client-Secret: <Client Secret>

Thank you!
Kind regards
Dominic/3DJupp

@3DJupp
Copy link
Author

3DJupp commented Dec 29, 2023

example from another implementation, openhab / http addon in that case.:

baseURL = "https://pihole.domain.tld/admin/api.php",
headers="CF-Access-Client-Id=12345678901234567890123456789012.access", "CF-Access-Client-Secret=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

(dummy data)

@JGeek00 JGeek00 added the feature request New feature or request label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants