I need help with modifying Oauth2 basic to support avatars that just have an id and not url in the JSON object. For example discord only provides the discord avatar id and not a full url. Therefore, I would like to modify the Oauth2 basic plugin to use a url and fill in certain parameters such as Userid and Avatar id to fetch the discord user’s avatar.
1 Like
For Discord logins, we have a dedicated authenticator, in core, that properly supports their avatar format. See site settings with discord
in the name. You shouldn’t use oauth2 basic for that.
2 Likes
I am using oauth2 basic because the built-in discord authenticator doesn’t support nicknames for discord.
I made a PR request to the built in Discord login. Once it’s approved I will switch back to Discord login instead of making my own.
2 Likes