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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...