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

Is it possible to enable http authentication for Android client? #23

Open
ataraskov opened this issue May 28, 2021 · 2 comments
Open

Is it possible to enable http authentication for Android client? #23

ataraskov opened this issue May 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ataraskov
Copy link

I'm using audioserve behind authelia.
Is it possible to adjust client for extra layer of authentication?

@izderadicka izderadicka added the enhancement New feature or request label May 28, 2021
@izderadicka
Copy link
Owner

As per https://www.authelia.com/docs/home/architecture.html actually authelia should work for unauthenticated requests (with audioserve running with --no-authentication).
Then the requirements on android client would be:
a) Do not use default authentication via shared secret
b) Interact with login process of authelia - e.g. handle redirects - open browser window?
c) Inject authenticated cookie to communication

Just wondering if web client works fine with authelia. I hope it should -as redirection and cookies.

For android it's bit more complicated. I think it always uses default audioserve authentication which then produces Authorization: Bearer <token> header which is used in further communication.

I'll not look into it (I think it's rather marginal use case now), but if somebody want to, PRs are welcomed. So I'll keep issue opened.

@ataraskov
Copy link
Author

Web client is ok.

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

No branches or pull requests

2 participants