I'm using OAuth in my app for authentication, but I want to collect additional info from users like their city, zip code, and other stuff. how can I collect these required fields and not create the account info if any of this info isn't provided?
Why can't you create the account first?
well in that case, if the user doesn't fill the other fields ever, they'll still be counted as a verified user
So?
but i wanna keep all the additional info (city, zip code, username) required
Well you can't because the API doesn't accept any additional params
yeah, I know. I'm mainly looking if someone can help me with a workaround idea
I would take the information after creating the oauth session
well, then is there any way/workaround i can keep the account "unverified" unless the other fields are provided? cuz afaik, createOAuth2Session sets the account as verified
No. I would use a user label instead
you mean using a custom attribute in the user doc that indicates if the other fields are filled?
how to collect additional info from user when using OAuth? [SOLVED]
[SOLVED] how to collect additional info from user when using OAuth?
Recommended threads
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...
- Google login on mobile not working
Hi the gg login auth in mobile not working. No error show. But the user couldnt login in Attached is the video. Desktop is working well and im using custom doma...
- Appwrite 1.8.1 TablesDB Permissions Issu...
Hi - I'm migrating a newer VueJS web application from Supabase to Appwrite. I'm looking for an experienced Appwrite Developer to help me solve a permissions iss...