Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add environment variables for authentication #12

Open
CygnusHyoga opened this issue Jan 3, 2025 · 1 comment
Open

Comments

@CygnusHyoga
Copy link

I would be nice to have environment variables for authentication, to be able to deploy the container and be able to use the application without having to configure anything manually.

I have seen that the FORCE_JELLYFIN_SERVER_URL variable has been added recently. It would be great to add two (or more) environment variables for authentication. For example:

JELLYFIN_SERVER_USERNAME=xxx
JELLYFIN_SERVER_PASSWORD=xxx

Another suggestion for authentication, is to add jellyfin environment variable for API KEY to simplify the authentication.

JELLYFIN_SERVER_APIKEY=xxx

Thanks!

@johnpc
Copy link
Owner

johnpc commented Jan 3, 2025

Unfortunately Api Key authentication doesn't work for this app, because Api Keys are bound to the entire instance, not any particular user. Auth tokens are used instead.

I could add env vars for Auth Token / Username / Password though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants