"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
- 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...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...