"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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...