liftoff/GateOne — Issue #3: Google authentication error: cannot concatenate 'str' and 'dict' objects
Author: Phoenix84
Created: 2011-10-13 23:47:05+00:00
State: open

When using "google" for authentication, I can successfully login using my Google account, however when google passes that information back to GateOne, the server fails with a 500 error.

An error log excerpt shows this:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tornado/web.py", line 897, in wrapper
return callback(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/tornado/auth.py", line 196, in _on_authentication_verified
callback(user)
File "/opt/gateone/auth.py", line 172, in _on_auth
self.user_login(user) # This takes care of the user's settings dir
File "/opt/gateone/auth.py", line 88, in user_login
user_dir = self.settings['user_dir'] + "/" + user
TypeError: cannot concatenate 'str' and 'dict' objects

OS: Gentoo 2.6.37
Tornado 2.1.1
Python 2.7.1