The base open id connect provider assumes that the scopes email and profile are available via the external provider, but that isn't always the case. It would be nice to configure these scopes, or have the ability to specify the well known configuration and have trailbase pull the allowed scopes and claims via a fetch request to the url. The latter would be nice in general since you could use the configuration to fill out the auth/token/profile urls, but ultimately I think adjusting scopes manually would be more suited and the most customizable
EDIT: I realize this is probably due to how trailbase expects authentication to work across all providers/stored in data, so removing those two as it stands would probably break stuff.
The base open id connect provider assumes that the scopes email and profile are available via the external provider, but that isn't always the case. It would be nice to configure these scopes, or have the ability to specify the well known configuration and have trailbase pull the allowed scopes and claims via a fetch request to the url. The latter would be nice in general since you could use the configuration to fill out the auth/token/profile urls, but ultimately I think adjusting scopes manually would be more suited and the most customizable
EDIT: I realize this is probably due to how trailbase expects authentication to work across all providers/stored in data, so removing those two as it stands would probably break stuff.