victorbalssa / abacus

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

Bug: Logging in with Cloudflared Tunnel #328

Open dylaninbcky opened 3 weeks ago

dylaninbcky commented 3 weeks 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 weeks 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 weeks 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!