victorbalssa / abacus

🟠 Abacus: Firefly III mobile application.
https://apps.apple.com/us/app/1627093491
GNU General Public License v3.0
564 stars 42 forks source link

Feature Request: Logging in with Cloudflared Tunnel will need custom headers in Abacus #328

Open dylaninbcky opened 3 months ago

dylaninbcky commented 3 months ago

Describe the bug The app says : if you use external authentication providers like **** Cloudflare Tunnels ETC. You can use personal tokens only. When using the personal access token it gives me the error:

"Failed to validate Accesstoken. Please re-check your token or backend URL" Error: cannot read property email of undefined.

Would really love to use this app, so would like to hear from you soon!

Otherwise if its not possible to get it to work with personal access token, would you be able to do it like this? With custom headers? : https://github.com/paulgessinger/swift-paperless/issues/11

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

victorbalssa commented 3 months ago

Hey! it can be an old version of Firefly III maybe?

Can you try with the demo app: https://demo.firefly-iii.org?

dylaninbcky commented 2 months ago

Hi Victor,

With the demo app it works. but take note that mine is behind a cloudflared tunnel with Azure AD Authentication. To surpass that you can use headers with a cloudflare token. See the link i provided in my message above.

The cloudflare tunnel blocks the traffic due to it not being authenticated.

Is there any possibility you can add the possibility for adding headers? Would love to use your app!

Thanks!

Jack-XHP commented 1 month ago

I would like to have custom service token support for cloudflare tunnel. Currently I use a zerotier vpn to do that, but cloudflare tunnel is a better and more stable approach for export self-hosted service to targeted users.

victorbalssa commented 1 month ago

switching this as Custom Header Feature Request.