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
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?