You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 29, 2025. It is now read-only.
this is my first time doing this so please bear with me
create a user in azure without exchange license assigned
resulting in user not having an email property (or blank)
try to login to pingvin with that email
error - can't get email for that user
👍 Expected behavior
expected behaviour is that pingvin should be able to fetch the "email id" (i.e, abc@xyz.com) from preferred_username that is recived in the token (for a user with no exchange license email will be blank but the id is passed in preferred_username) and pingvin should be able to use that to create id
👎 Actual Behavior
actual behaviour is pingvin not being able to extract "email id" from other claims even if the email claim is not present
i am happy to be prove wrong, but please help me look into this. because i was racking my brain for 2 hours, i know very little about how oauth backend works,
as soon i tried with a user that has email id present, pingvin auth fine.