diff --git a/handlers/auth/github.go b/handlers/auth/github.go index c6e06c1..aa31aa6 100644 --- a/handlers/auth/github.go +++ b/handlers/auth/github.go @@ -56,7 +56,7 @@ func (a *githubAdapter) GetUserData(state, code string) (*user, error) { return &user{ ID: string(gUser.ID), Name: gUser.Name, - Picture: gUser.AvatarURL, + Picture: gUser.AvatarURL + "&s=64", }, nil } diff --git a/handlers/auth/google.go b/handlers/auth/google.go index ab81b34..6e36f9d 100644 --- a/handlers/auth/google.go +++ b/handlers/auth/google.go @@ -53,7 +53,7 @@ func (a *googleAdapter) GetUserData(state, code string) (*user, error) { return &user{ ID: gUser.Sub, Name: gUser.Name, - Picture: gUser.Picture, + Picture: gUser.Picture + "?sz=64", }, nil }