Skip to content

fix: bypass auth for kavita api endpoint#574

Merged
nemchik merged 2 commits intolinuxserver:masterfrom
YodaDaCoda:master
May 29, 2023
Merged

fix: bypass auth for kavita api endpoint#574
nemchik merged 2 commits intolinuxserver:masterfrom
YodaDaCoda:master

Conversation

@YodaDaCoda
Copy link
Copy Markdown
Contributor

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

Bypass authelia etc for api access to kavita - permits use of OPDS endpoints while auth is in use.

Benefits of this PR and context

With the current config, when using one of the auth options, access to the OPDS endpoint is captured by nginx & redirected to auth. This adds a bypass for the /api endpoint which uses a token system.

How Has This Been Tested?

Implemented the changes on my local system & tested access with Librera on android. Does not work without this change, works with.

Source / References

Changes taken from Kavita's docs: https://wiki.kavitareader.com/en/install/access-kavita-from-network/reverse-proxy/swag-example

Comment thread kavita.subdomain.conf.sample Outdated
Co-authored-by: Eric Nemchik <eric@nemchik.com>
@nemchik nemchik merged commit e1038fd into linuxserver:master May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants