From 9e237a0b7115888880fa34d6e6defef82a4bd0a1 Mon Sep 17 00:00:00 2001 From: Tine Date: Fri, 16 Feb 2024 15:02:29 +0100 Subject: [PATCH] fix(oauth2): id is int for github --- internal/handlers/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/oauth2.go b/internal/handlers/oauth2.go index df7b247..c3837b6 100644 --- a/internal/handlers/oauth2.go +++ b/internal/handlers/oauth2.go @@ -16,7 +16,7 @@ import ( ) type UserInfo struct { - Id string `json:"id"` + Id int64 `json:"id"` // FIXME: This might not always be int? Sub string `json:"sub"` Email string `json:"email"` }