<div dir="ltr">Hi all.<div><br></div><div>I'm trying to use nginx as proxy for buildbot 0.9 web interface and I have question.</div><div>Nginx is configured to use basic auth</div><div>Buildbot configured to use remote auth with defaults.</div><div><br></div><div><br></div><div>Login works fine, logout works too.</div><div>(For logout I added redirection rule for /auth/logout url in nginx config</div><div>with wrong login and password</div><div>as supposed here <a href="http://stackoverflow.com/questions/233507/how-to-log-out-user-from-web-site-using-basic-authentication">http://stackoverflow.com/questions/233507/how-to-log-out-user-from-web-site-using-basic-authentication</a> ).</div><div><br></div><div>Logout works, user can sign in with another login.</div><div><br></div><div>But there is a problem because twisted session is the same. </div><div>And buildbot doesn't update user_info in session, if session has already user_info dict.</div><div>(maybeAutoLogin method in RemoteUserAuth class, www/auth.py module).</div><div><br></div><div>So buildbot thinks that user is the same.</div><div><br></div><div>I added check if username in session and in request are equal and it works (buildbot switches</div><div>users correctly). </div><div>Is it right way of solving this problem or maybe there is better solution? </div><div><br></div></div>