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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...