mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-28 17:59:25 -05:00
[GH-ISSUE #21788] issue: Failed to store OAuth session server-side: 'NoneType' object has no attribute 'id' Open WebUI 0.8.4-0.8.5 #58236
Reference in New Issue
Block a user
Originally created by @antpar-rf on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21788
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.8.4 & 0.8.5
Ollama Version (if applicable)
No response
Operating System
Container
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
oAuth session to not error on data type; oAuth group expected to be created; silently failing now.
Actual Behavior
2026-02-23 [CENSORED] | ERROR | open_webui.models.oauth_sessions:create_session:143 - Error creating OAuth session: (psycopg2.ProgrammingError) can't adapt type 'dict'
[SQL: UPDATE oauth_session SET token=%(token)s WHERE oauth_session.id = %(oauth_session_id)s]
[parameters: {'token': {'token_type': 'Bearer', 'expires_in': [CENSORED], 'access_token': 'CENSORED'}]
(Background on this error at: https://sqlalche.me/e/20/f405)
2026-02-23 [CENSORED] | ERROR | open_webui.utils.oauth:handle_callback:1721 - Failed to store OAuth session server-side: 'NoneType' object has no attribute 'id'
Steps to Reproduce
Logs & Screenshots
N/A - Backend code
Additional Information
No response
@antpar-rf commented on GitHub (Feb 23, 2026):
@tjbck @Classic298
@Classic298 commented on GitHub (Feb 23, 2026):
yeah i experience the same error. can reproduce.