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

Firebase Auth in open-saas #326

Open
lukyanov opened this issue Nov 20, 2024 · 3 comments
Open

Firebase Auth in open-saas #326

lukyanov opened this issue Nov 20, 2024 · 3 comments

Comments

@lukyanov
Copy link

lukyanov commented Nov 20, 2024

Hi!

I'm considering the possibility of using Firebase Auth instead of the native wasp authentication and I'm looking for advice.

What would be the best strategy in my case? Does it even make sense?
If it's feasible, should I add a new auth provider for wasp? Or just replace wasp auth in the open-saas template?

How would you do this if you needed the same?

I'd appreciate any input. Thank you.

@vincanger
Copy link
Collaborator

I would suggest using the Wasp Auth, as it's a built-in full-stack solution with managed, but customizable, UI components.

It just works. If you haven't given it a try yet, I suggest you do before ultimately making your decision.

If you still prefer to use Firebase Auth then you won't configure auth in the main.wasp file and will be responsible for creating all your own auth components and dealing with authenticated users on your servers.

@lukyanov
Copy link
Author

Thank you!
The thing is I already have users in Firebase and I have no plans to migrate them. So I wanted to build a companion web app that they could use as well.

@vincanger
Copy link
Collaborator

Would migrating the users be hard? I assume you could write a script for that. If you decide to go that route, let us know. I'm sure @infomiho (the dev responsible for Wasp Auth) could offer some tips here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants