-
Notifications
You must be signed in to change notification settings - Fork 28
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
Http Basic Auth #12
Comments
I think that when you're using Basic Auth, you're in single mode. Is this the case? This might be linked to issue #4. |
No I am not using single user mode. I'm using the auth_remote module to handle authentication then telling nginx to require basic auth for the /tt-rss directory. I would imagine that if /ttrss-mobile also required basic auth, because of the requirement for it to be hosted at the same address the login could be gotten rid of completely. I'm going to have a butchers myself and maybe submit a pull request if I can figure something out. |
If I understand your setup well, you've got two authentication levels:
I don't understand if you use HTTP auth for /ttrss-mobile or not. If yes, do they share the same protection space (realm)? (http://www.ietf.org/rfc/rfc2617.txt) |
I have one layer, all requests within /tt-rss must contain a valid Tt-tss has only the 'auth_remote, module loaded, not the 'auth_internal' I currently have nothing special set on /ttrss- mobile. Is current seems to I don't want to log in twice... So yes sorry I think you're right... I
|
I need to reproduce your problem but I think this is linked to issue number #4 . The webapp needs to authenticate with the API to get a valid session. If I try to have a valid session with empty credentials on first try it might work in your situation. So you have to wait or you can try to work on a patch ;-) |
Could you test now with this commit 495f264? |
I'm afraid that doesn't seem to work. It still gives a login page. I tried with /ttrss-mobile and /tt-rss requiring auth and only /tt-rss On 27 March 2013 20:50, mboinet [email protected] wrote:
|
When basic auth is required on /tt-rss, loading /ttrss-mobile will also prompt for basic auth before showing you the standard login screen.
ttrss-mobile should either detect that an "Authorisation" header has been set or have a config setting in conf.js to require basic auth and use that rather than its login screen.
The text was updated successfully, but these errors were encountered: