HTPC-Manager icon indicating copy to clipboard operation
HTPC-Manager copied to clipboard

Problem with login when using auth and iOS.

Open tester22 opened this issue 11 years ago • 6 comments

Seems like this is the problem: http://stackoverflow.com/questions/12571144/ios-6-mobile-safari-session-variables-not-retained-when-set-via-ajax

tester22 avatar Jan 16 '14 14:01 tester22

Could you please describe the problems that you encountered? How, when, what page, etc.

There is no actual login method, just a http auth, managed by CherryPy.

styxit avatar Jan 16 '14 14:01 styxit

Yeah sorry. I have exposed cherryPy to the net with the built in auth. When I first open the app it asks me for http auth and loads the start screen. After a second or so when the first ajax call is made the site asks me for auth again. This is repeted for each new recource eg both ajax calls and images.

tester22 avatar Jan 16 '14 14:01 tester22

This also happens i my iPad. I do not yet know how to fix this. A workaround is to use Chrome for IOS.

I will look at the link you provided when i get back from my vacation.

styxit avatar Jan 16 '14 14:01 styxit

out of curiosity why do you use Username and Password?

svenvg93 avatar Jan 17 '14 15:01 svenvg93

If I have exposed the server to the net to access it when I'm away. Could place it behind nginx but tried this instead.

2014/1/17 svenvg93 [email protected]

out of curiosity why do you use Username and Password?

— Reply to this email directly or view it on GitHubhttps://github.com/styxit/HTPC-Manager/issues/126#issuecomment-32615274 .

tester22 avatar Jan 17 '14 15:01 tester22

I did the same. But i placed it behind and apache reverse proxy with an htaccess file.

On 17 Jan 2014, at 16:33, Anton [email protected] wrote:

If I have exposed the server to the net to access it when I'm away. Could place it behind nginx but tried this instead.

2014/1/17 svenvg93 [email protected]

out of curiosity why do you use Username and Password?

— Reply to this email directly or view it on GitHubhttps://github.com/styxit/HTPC-Manager/issues/126#issuecomment-32615274 .

— Reply to this email directly or view it on GitHub.

svenvg93 avatar Jan 17 '14 15:01 svenvg93