Closed hk-meko closed 1 year ago
Given you have already identified the root cause and are a bit in a hurry here, would you mind opening a PR fixing it? Thanks!
Closing as per the following comment: https://github.com/nhost/hasura-auth/pull/405#issuecomment-1630951568
When using AzureAD for signup/ signin, the users email is not set in the database. This part of the azuread config is the falsey part. The payload field containing the email is named "upn", in the config it's email
Here is a privatized OAuth response from AzureAD:
I hope this can be fixed quickly, with the provided information.