You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitLab OAuth Callback Crashes for All Space App Users — base_host Variable Shadowing #9164
When I complete GitLab OAuth login in the space app, the callback crashes with a TypeError and I see the error message attached below:
TypeError: 'str' object is not callable
What I expect is to be redirected to the dashboard after successful GitLab authentication.
File: apps/api/plane/authentication/views/space/gitlab.py — same shadowing pattern as the GitHub bug: base_host = request.session.get("host") overwrites the imported function.
Steps to reproduce
Go to the space app login page
Click "Continue with GitLab"
Authorize the application on GitLab
See 500 error on callback — user is never authenticated
Activity
makeplane commentedon May 30, 2026
Synced with Plane Workspace 🔄
[GIT-216] GitLab OAuth Callback Crashes for All Space App Users — base_host Variable Shadowing
fix(auth): stop shadowing base_host in space OAuth callbacks (makepla…