If you do not have the sso overrides email option checked it will not update the email on discourse causing it to not log in. Also you need to make sure that the setting in Discourse “email editable - Allow users to change their e-mail address after registration” is checked. I think it is by default but probably good to check and make sure.