|
|
@ -72,7 +72,7 @@ public class DiscordIdentityProvider extends AbstractOAuth2IdentityProvider<Disc |
|
|
|
|
|
|
|
user.setUsername(getJsonProperty(profile, "username")); |
|
|
|
user.setEmail(getJsonProperty(profile, "email")); |
|
|
|
user.setUserAttribute("profile_icon", |
|
|
|
user.setUserAttribute("picture", |
|
|
|
"https://cdn.discordapp.com/" + getJsonProperty(profile, "avatar") + ".png?size=512"); |
|
|
|
user.setIdp(this); |
|
|
|
|
|
|
|