From 6d84b8480fde6a309201abff1082ed422b7f48c2 Mon Sep 17 00:00:00 2001 From: royalcat Date: Wed, 25 Dec 2024 18:54:06 +0300 Subject: [PATCH] fix --- src/auth/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/auth.go b/src/auth/auth.go index f477918..ffebe02 100644 --- a/src/auth/auth.go +++ b/src/auth/auth.go @@ -101,6 +101,7 @@ func (a *Authenticator) createUserFromExternal(ctx context.Context, resp *oidc.I _, err = tx.NewInsert(). Model(&store.ExternalLogin{ + ID: uuid.New(), UserID: user.ID, Issuer: resp.Issuer, Subject: resp.Subject,