i can access my localhost, should i provide https://localhost/ instead of https://example.com%27/ ?
It should be the url of your client application that you're building
Maybe this will help clarify: https://dev.to/appwrite/30daysofappwrite-email-verification-and-forgot-password-420o.
Some things might be outdated, but the general idea/flow is the same
still not clear, how she/he got the url or created the urllet promise = sdk.account.createRecovery('email@example.com', 'http://myappdomain/resetPassword');
you as the developer set it because you're building and deploying the app
if i dont use url for redirecting, and just extracting the userid and secret key from url (received url in mail ) and then update the password, this will be secure ?
How are you going to update the password?
this the url got in mail will extract the user id and key and pass it to update method
here is the update method from doc import 'package:appwrite/appwrite.dart';
Client client = Client();
Account account = Account(client);
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.updateRecovery(
userId: '[USER_ID]',
secret: '[SECRET]',
password: 'password',
passwordAgain: 'password',
);
result
.then((response) {
print(response);
}).catchError((error) {
print(error.response);
});
}```
Sure
is this is a good idea with respect to security concern ?
Sure
ok thanks
how to edit emails profile picture, name, title etc, and why mail is receiving in spam although i am using SMTP.
There's an environment variable for the from email.
What SMTP provider are you using?
sendinblue
Maybe the domain is misconfigured
how to configure domain ?
for domain configration have to buy domain ?
Yes and you typically have to do some extra stuff to prove you're the owner. I'm sure you can Google how to make sure your emails don't end up in spam
i am looking for totally free smtp, do u have any idea ?
Regardless of whatever you use, it will take effort to get it configured
so setting up own smtp means, landing in spam?
If you set up your own SMTP server, it will end up in spam. If you use a provider, you're less likely, but you have to configure it properly
Recommended threads
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...