Giter Site home page Giter Site logo

Comments (5)

dreautall avatar dreautall commented on June 3, 2024 1

After looking into it some more, this is NOT possible, sorry.

Both OAuth and Basic Auth use the same Authorization HTTP header, which might only be submitted once.

The "easy" way would be to un-protect calls to /api/ from your basic auth configuration (all calls from Waterfly are going to the API, it never requests a resource outside of that path). You can keep the Basic Auth for the normal Webinterface then.

from waterfly-iii.

dreautall avatar dreautall commented on June 3, 2024

I have Firefly directly on the Internet without BasicAuth in front, mainly because Firefly has its own authentication anyways.

But regardless of that, Waterfly should work in all settings! Just a quick (untested) idea, what happens if you use https://user:[email protected] (with user & pass obviously replaced) as the domain?

If that doesn't work, I'll add it to the list of things to implement :)

from waterfly-iii.

mgorfer avatar mgorfer commented on June 3, 2024

I added the BasicAuth, because I thought double the security cannot hurt. But you are right, I could just switch it off. waterfly-iii works flawlessly in that condition.

I tried your idea. It is working in my browser, to directly reach the login page of firefly. It is not working in waterfly-iii though. I am getting the same error as before.

I would be glad if you could add an option to access the firefly server through BasicAuth, but I will just turn off the BasicAuth for now.
So that Feature Request has very low priority from my side :)

from waterfly-iii.

mgorfer avatar mgorfer commented on June 3, 2024

Thank you for the update!
I will try to implement your suggestion on my side.

from waterfly-iii.

ahatdude avatar ahatdude commented on June 3, 2024

Thank you for the update! I will try to implement your suggestion on my side.

I apologise for revisiting this old issue, but @mgorfer would you be kind enough to explain to me how you added this exception to the firefly container? I'm on unraid and I'm having trouble knowing what I should be adding as a label or what I should be changing in the config to allow Waterfly to access my server with no issue.

Thanks :-)

from waterfly-iii.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.