"app.64020bea5f7df43b0cfe@service.localhost (role: applications) missing scope (public)" Error, in updateRecovery ()
hi, can you elaborate a bit more?
I successfully send email with userId and secret, to finish the process I set up end point, $account = new Account($this->client);
$account->updateRecovery($userId, $secret, $request->password, $request->confirmPassword);
but it fire error "app.64020bea5f7df43b0cfe@service.localhost (role: applications) missing scope (public) "
password recovery flow is meant for client-to-server communication. You seem to authorized with API key. Can you do this request unauthorized instead, that should fix it? Soo dont do setAPIKey for this request....account logic should be done on client-side in general. I think you are doing it server-side ?
hoo, thanks it seems its working, it through error of "Invalid token passed in the request." I think the secret is expired ?
probably yes
can you try creating it again
its working, thanks very much
one more question
how can I use Create Email Session, from NET client ? I try REST API (passing Email and Password ), but i don't have user session it trigger "The current user session could not be found."
In server side there is no createEmailSession() method, how can I manage this
I think you have another thread for this, right? Best to keep that conversation over there
Recommended threads
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...