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
- Storage Chunk upload bug
Hi, I'm experiencing an issue with Appwrite Storage chunked uploads. Small files upload successfully, but larger video files that require chunking fail. For ...
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...