Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for authentication using Firebase as it has free authentication as compared to Amazon cognito and Auth0 #2429

Closed
SatyamKr07 opened this issue Jul 27, 2021 · 4 comments
Labels
enhancement New feature or request stale Did not receive any activity for 60 days

Comments

@SatyamKr07
Copy link

Description 📓

Firebase has unlimited free authentication for email and password and also for passwordless authentication using link sent to email address. Next Auth has nodemailer/sendgrid support for this purpose but it has some limit to DAU and after that it's paid service.
So adding firebase auth system will surely be a of great use to all the developers and startups!🙌

How to reproduce ☕️

It's a feature Request. Waiting to see it soon...

Contributing 🙌🏽

No, I am afraid I cannot help regarding this

@SatyamKr07 SatyamKr07 added the enhancement New feature or request label Jul 27, 2021
@balazsorban44
Copy link
Member

Regarding this, I think you can use the credentials provider to utilize the email+password flow as long as the firebase api works server side.

The email login might be a bit trickier, because currently we generate our own login tokens and save it in our own database. That might need some more thinking.

@ndom91
Copy link
Member

ndom91 commented Sep 5, 2021

@SatyamKr07 we're in the process of adding a firebase adapter with the new adapter API (nextauthjs/adapters#183), it uses firestore as a storage mechanism for your users / account data though, not their auth provider, maybe that is interesting for you?

If you're main problem is running into limits with Email providers like sendgrid, you can also just use your gmail smtp settings, for example. I believe they allow 500 emails / day with free gmail accounts and 5000 emails per day with paid g suite / google workspace accounts.

AWS Simple Email Service (SES - https://aws.amazon.com/ses) also has a free tier which allows 62,000 emails per month, so ~2000 per day.

@stale
Copy link

stale bot commented Nov 5, 2021

Hi there! It looks like this issue hasn't had any activity for a while. It will be closed if no further activity occurs. If you think your issue is still relevant, feel free to comment on it to keep it open. (Read more at #912) Thanks!

@stale stale bot added the stale Did not receive any activity for 60 days label Nov 5, 2021
@stale
Copy link

stale bot commented Nov 12, 2021

Hi there! It looks like this issue hasn't had any activity for a while. To keep things tidy, I am going to close this issue for now. If you think your issue is still relevant, just leave a comment and I will reopen it. (Read more at #912) Thanks!

@stale stale bot closed this as completed Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Did not receive any activity for 60 days
Projects
None yet
Development

No branches or pull requests

3 participants