vikunja/pkg/modules/auth/openid
waza-ari a3154e805c
All checks were successful
continuous-integration/drone/push Build is passing
fix(auth): use (issuer, name) to check for uniqueness of oidc teams (#2152)
The change introduced in #2150 introduces a bug where a Team would be re-created every time a user logs in, as the check if a team already exists was based on both the unique `oidcID` and the `name`. This PR proposes to only base the check on the ID, as this should be unique.

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2152
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-04 20:26:45 +00:00
..
main_test.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
openid_test.go fix(auth): use (issuer, name) to check for uniqueness of oidc teams (#2152) 2024-03-04 20:26:45 +00:00
openid.go fix(auth): use (issuer, name) to check for uniqueness of oidc teams (#2152) 2024-03-04 20:26:45 +00:00
providers.go feat: assign users to teams via OIDC claims (#1393) 2024-03-02 08:47:10 +00:00