Strapi email validation is not working when registering users from admin console - content-management-system

I am using strapi for my user management and when I register user using register api, I am getting email validation into the user’s inbox, but when I add users from the admin console(Admin Panel) user is not getting any email validation mails.(Even when I register the user to be unconfirmed.)

The registration process send the confirmation e-mail for you.
After having registered, if you have set Enable email confirmation to
ON, the user will receive a confirmation link by email. The user has
to click on it to validate his/her registration.
There is an endpoint in the user permissions plugin for you to trigger the e-mail confirmation sending: POST /api/auth/send-email-confirmation. Don't forget to enable it for the public role.

Related

Get reset password link(token) from Keycloak

I have a process of adding new users that requires me to send two emails. One from Keycloak to ask the added user to create a password and one inviting them to my site.
I would like to use only one email sent by my site, not Keycloak. I know I can modify the reset email sent from Keycloak, but I would rather just send the email from my site.
Is there a way to get a password reset link or token from Keycloak so that I can insert it into my email?

How to put a "cancel registration" link in an email

I'm working on a registration system that sends a confirmation email after a user registers for an event. I'd like to include a link in that email that allows them to cancel their registration. Is there an easy/standard way to do this?

Facebook spamming user#facebook.com email sent from server

We are developing a mobile application that communicates with a server, which sends a generated email on behalf of the app user to a facebook user.
The user sending the email is signed on to Facebook.
The email is sent to one or multiple FB friends/connection using their id (example: username#facebook.com).
The sender email can be from any domain and that's where the problem lies. Sending directly from gmail for example, works fine. But because our server is sending on behalf of the user, FB thinks its a spoofed email.
Sending the email from the app is not an option for us at this time.
Is there any way or service that would allow us to do this without having our emails marked as spam?
Facebook is transitioning away from the ability to send emails via an
API call on Mar. 1st. To compensate, they allow apps to now ask for a
user's email address directly.
If you set the email domain in your app's settings, then asking for
the email extended permission gives you the users email address
instead the ability to send an email via the API.
As of Mar. 1, the API will stop working and you are left alone to
figure out your own email solution. This goes for regular
notifications, both user to user and app to user, as well
From here
And:
Please note: We are in the process of deprecating the REST API,
and will not be adding support for this in Graph API.
Developers should directly send email to users once they are granted permission.
From here
However, I would suggest rather sending private message than emails, as described here

Intuit Open authentication and email addresses

At http://docs.developer.intuit.com/0025_Intuit_Anywhere/0010_Getting_Started/0030_Integrate_your_app/0030_Signing_Into_and_out_of_Intuit_From_Within_Your_App/Sign-in/Implement_SSO_and_OpenID_in_Your_App
it says the following:
"Intuit does not verify the user email address associated with the user's OpenID account. Therefore, do not use the email address for authentication and do not link user accounts based on email address."
What does it mean "do not use the email address for authentication"? I mean, isn't the user already authenticated, through OpenId.
Also it says that the user email address is not verified. But what if my app needs to send an email to a user that has logged through OpenId. How can I be sure the user will actually get the email? What is the recommended pattern to handle that?
Thanks
EDIT: also, can I use the email to uniquely identify a user, and if not, what should I use to uniquely identify a user from the open id response?
EDIT 2: also, is the developer charged when a user logs in with open id and the 36 day trial expires? Or is it just when using the "Connect to quickbooks" that the developer is charged, in which case, open id authentication itself is free?
Clement,
It means when a customer goes to the Intuit Appcenter and creates an account the email is not verified immediately, so you cannot single sign on a user based only on their email address if they already have an account in your system. You need to prompt them to login one time to map the two accounts.
If they are completely new then you can auto provision an account on your side and single sign them in, if you require the customer to verify their email address then you can send them a verification email.
thanks
Jarred

How do I make the Drupal default From: e-mail different than the email of the user who receives system e-mails?

I am creating a site that requires admin approval before creating a user account. In Site Information settings I have set the site's e-mail address to "noreply#mysite.com"
New registrants request an account and they correctly get an e-mail From:noreply#mysite.com
No problems there.
However, the useful "Approve New User" e-mail also gets sent to "noreply#mysite.com" when I need it to go to "me#mysite.com." The noreply address is strictly a garbage address I will never check.
So, how do I set up a different email for the default "From:" address and the default system alert e-mail recipient address?
You can use Drupal's hook_mail_alter to intercept the email that gets sent to noreply#mysite.com send it to the desired email address. http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_mail_alter/6
It's also possible to do this kind of customization using Triggers and Actions:
http://drupal.org/node/199254
http://drupal.org/documentation/modules/trigger
There is a module, User Registration Notification, that does what I needed. Keep the site e-mail "no-reply" and change the To: value in the module to "me".
User registration notification