fix
All checks were successful
docker / build-docker (push) Successful in 3m44s

This commit is contained in:
royalcat 2024-12-25 18:54:06 +03:00
parent 4b60194897
commit 6d84b8480f

View file

@ -101,6 +101,7 @@ func (a *Authenticator) createUserFromExternal(ctx context.Context, resp *oidc.I
_, err = tx.NewInsert(). _, err = tx.NewInsert().
Model(&store.ExternalLogin{ Model(&store.ExternalLogin{
ID: uuid.New(),
UserID: user.ID, UserID: user.ID,
Issuer: resp.Issuer, Issuer: resp.Issuer,
Subject: resp.Subject, Subject: resp.Subject,