Back

Validate on domain with OAuth login

  • 0
  • Auth
  • Functions
  • Cloud
Bigrichardo
18 May, 2024, 11:12

I want to validate an email address on the domain before an account creation. I am using a organization level OAuth from microsoft, but i only want to allow users from paying organizations. I am using the oauth signin option. Can i block the account creation based on the domain? The code to check it i allready have, but cant figure out the moment when to trigger it.

TL;DR
Developers are seeking an alternative to validate email addresses on a domain before account creation while using OAuth from Microsoft. They want to restrict account creation to specific organizations. The code for validation is ready, but they're unsure of the optimal trigger point.
darShan
18 May, 2024, 11:17

why not validate before triggering the OAuth client side?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more