Magic Loginlink

Dear Bubble community,
I‘d just like to ask how to implement a magic login link.
It‘s my plan to give every user from the api database a link with which they can log in automatically.
Always when users click on my login button I wanna send a mail to their mail adress (as they give as a credential).
I‘m thinking about copying my login page without disabling the old one. Let‘s call it a safe copy.
As soon as the user clicks the link he‘s navigated to the index page.
Thank you

There is an option for exactly that:

Nice! Well, I‘ve already had this and it didn‘t work. I ran as a specific user from by API database and I didn‘t receive any email to this specific address. I think there has to be a magic link attribute for every user. How would you handle this, @carlovsk.edits?

When you use this option in this way, it sends the email with the link to the email address entered there. If you have access to this email address, you should receive it, i.e., on your login page, when a user tries to log in, instead of asking for their email address and password, they will only enter their email address, and then when they click on the button, the link will be sent to that email address.

So is it right that entering the password would only spoil the broth?

Both options would be fine.

Ok, my current issue is that the recent error message says „Error connecting to SendGrid: Maximum credits exceeded“. Whatever this does mean…

Bubble does not directly handle email sending - they utilize the Sendgrid API for this functionality. It appears you have exceeded Sendgrid’s free tier email sending limits, and please note that Sendgrid will soon discontinue their free plan entirely.

As an alternative, you can integrate a different email service provider’s API, such as Brevo. However, this will require reconfiguring your email workflow. If you need assistance with this transition, I offer professional services to help implement this change.

Best regards,

Alright, I‘ve installed all freely availble Brevo plugins and it still throws the same error. By the way, our company (formally) hasn‘t used SendGrid for a long time yet.

To implement Brevo’s API functionality, you must first complete all configurations in the API connector and utilize Brevo’s API calls. It is necessary to stop using Bubble’s email sending system and exclusively rely on Brevo’s services for email communications.

I hope this information has been helpful.

As long as I try‘n‘error this it won‘t work. I don‘t know precisely how to do it. I‘m currently focusing on failing in the test again.

@moabe.leite, please tell me how to configure the API connector. Thank you, Sir.

This topic was automatically closed after 70 days. New replies are no longer allowed.