vue-firebase-auth | simple demo app to get | Authentication library
kandi X-RAY | vue-firebase-auth Summary
kandi X-RAY | vue-firebase-auth Summary
A simple demo app to get started with Vue and Firebase Authentication
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue-firebase-auth
vue-firebase-auth Key Features
vue-firebase-auth Examples and Code Snippets
Community Discussions
Trending Discussions on vue-firebase-auth
QUESTION
I'm trying to get the sign in part working on my webapp but it's not working properly. Whenever I press the login button the page either refreshes and the url gets updated with the credentials and stays at the same page OR the router gets pushed and goes to the 'homepage' without logging the user in.
I also followed this guide for reference: https://blog.logrocket.com/vue-firebase-authentication/
What's weird is that the sign up part is working just fine.
SignIn.vue
...ANSWER
Answered 2020-Mar-20 at 17:14It is probably because you assign the submit
type to your button, your form is submitted before the Firebase method is triggered.
You should change the button code from
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-firebase-auth
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page