Tom Moor
Tom Moor
Closed in #7460
Hard to make sense of, for sure. Could you show what is the contents of the `teams` table in the db.
This seems expected if there are multiple teams. Could you also post the `authentication_providers` table content and that should be enough to debug from here.
Tracing the code I'm still not really able to see how this is possible, what is `URL` env set to?
It makes no sense, there should _never_ be more than a single team when self-hosting. This call finds the team related with the login: https://github.com/outline/outline-enterprise/blob/d1445993300c9a46306fe549a44cf59fd4be4ae7/plugins/oidc/server/auth/oidc.ts#L94 …in the case of self-hosted...
This is a serious issue that still needs investigating, will try to do so before next release but very short on time and don't have a GitLab install to test...
Access to a GitLab instance that reproduces the issue would be helpful, no need for Outline. Contact details are on this page: https://www.tommoor.com
There are some potential fixes in a new prerelease build `v0.79.2-0` (outlinewiki/outline:0.79.2-0), see if it resolves the issue. Ideally you'd try this on a fresh database as existing duplicate rows...
It's building right now, should be available in next 5 minutes.
☝️ Ah fixed, the code that was changed in shared lib only affected the server side.