I’m trying to integrate with AWS Cognito, however the id_token I get back from Twitch doesn’t seem to contain the users email address. I’ve tried various combinations of scopes including “user_read” and “user:read:email” (along with “openid”) but it is never returned.
The docs and .well-known endpoint seem to indicate that “email” is a supported claim so not sure what else is required here?
Edit: it also doesn’t come back from the userinfo endpoint Given up on Cognito and implementing our own IdP now… but still means we’ll have to make a call to the Twitch API to get these details after sign in unless this is fixable.