"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
- Large File Upload Issue with S3/RustFS
Hi, we are seeing a reproducible large upload failure with Appwrite 1.8.0 using S3-compatible storage through RustFS. A file upload of about 10.7 GB consistent...
- Terraform tablesdb_column type inconsist...
Hi, I am trying out the new terraform provider for appwrite that was introduced a few weeks back. As a first step I wanted to import our existing databases into...
- Self-hosted 1.9.0 — what's the canonical...
Self-hosted 1.9.0 — canonical way for functions to call the API on the same host? Setup: Go functions on self-hosted 1.9.0. Public domain via traefik, valid LE...