mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2026-03-23 20:37:07 +00:00
[GH-ISSUE #46] How do I use the extension when TubeArchivist is behind Authelia? #29
Labels
No labels
bug
bug
duplicate
enhancement
help wanted
invalid
not an issue
not an issue
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-browser-extension#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tehniemer on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/tubearchivist/browser-extension/issues/46
I have TubeArchivist behind Authelia and have the forward auth login working, but the extension is not connecting to my server, is there a way to get this working or do I need to disable Authelia to use the extension?
@Hanga7yr commented on GitHub (Oct 11, 2024):
Hi,
On my own experience, it is a bit of a pain using authelia and services that require direct access from outside.
There are a few options to allow access, such as VPNs, but in some cases, it is not an option.
The current way I do it, is allowing certain paths to pass directly towards the service adding it to the rules of access_control, for example:
And then in my reverse proxy (haproxy), point directly towards that service modifying the path so that it points correctly where it should.
While this certainly affects security, in the case of tubearchivist, you are using an API key so the effect is slightly diminished.
I am using examples here, not providing an answer as I don't know your setup, so modify it to your needs.
There are other options to fix this issue but this is the one I am currently using, once I find a better one I will probably change.
Hope this answer suites your needs and is on time.
@tehniemer commented on GitHub (Oct 11, 2024):
I have something similar that works for all my other services using APIs for app access, but it isn't working for the extension, I'm wondering if the url contains a different identifier instead of
api, I just don't know how to figure out what it might be.@Hanga7yr commented on GitHub (Oct 11, 2024):
I believe the APIs routes are on the /extension/background.js file.
For what I can see scanning quickly they are:
So allowing the /api route and subpaths should be sufficient.
@tehniemer commented on GitHub (Oct 11, 2024):
Thanks for the help, but it seems that it's not Authelia as the source of my troubles, even with it disabled the extension is unable to access my instance. I'm going to close this and open an issue.