customSession(async ({ user, session }, ctx) the provider is not exposed anywhere.customSession and the user.id to make a db call to get the account which has the providerId. Then i have the provider and the email, so I can run my check and if they don't meet the criteria, I can block them from doing anything and show a helpful error.