firebase-authentication

No provider for InjectionToken angularfire2.app.options

痴心易碎 提交于 2020-01-01 10:14:12
问题 Recently I started to learn to use the concept of firebase in combination with angular. As a start, I try to make the login process work. Currently, I get an ennoying error when I try to navigate to the login page and I cannot figure out what is causing the error. The error I get is: ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AngularFireAuth -> InjectionToken angularfire2.app.options]: StaticInjectorError(Platform: core)[AngularFireAuth -> InjectionToken

Check if given email exists

人盡茶涼 提交于 2020-01-01 09:22:15
问题 Is there a way to know if the email entered by user is real in Firebase? Does the built-in sign up with email&password method have this feature? EDIT: sorry for the misunderstanding . I don't care if the email has been used before , what I need to know is: if the entered email is 'made-up' or 'real , exists' 回答1: Yes, you can do that either you create new account or signing in: For creating, read createUserWithEmailAndPassword 's Docs createUserWithEmailAndPassword throws 3 exceptions:

Firebase + React Native: Offline authentication

房东的猫 提交于 2020-01-01 09:04:14
问题 I'm using Firebase in a React Native iOS app, mainly for storing user data and user authentication, which works great when a device actually has a working network connection . When it comes to Firebase's offline capabilities, it looks like this: The problem: Users launching app without network connectivity can't do anything because they're never being logged in Here are the steps to reproduce this behaviour: Step 1: Logged-out user launches app with network connectivity user clicks "Facebook

Migrating Python backend from Gitkit to to Firebase-Auth with python-jose for token verification

时光怂恿深爱的人放手 提交于 2020-01-01 07:06:07
问题 Over on GitHub a helpful Google dev told me that to create a user session, your python backend server only needs a JWT library to verify the Firebase Auth token (signature and audience) in the request and extract the user info from the token payload. I am having trouble with verifying the token. This is where I'm at; In order to start the migration I proceeded as follows: I added Firebase-Auth to the Android App, while still having Gitkit in the App until Firebase-Auth works. Now I have two

Migrating Python backend from Gitkit to to Firebase-Auth with python-jose for token verification

房东的猫 提交于 2020-01-01 07:05:01
问题 Over on GitHub a helpful Google dev told me that to create a user session, your python backend server only needs a JWT library to verify the Firebase Auth token (signature and audience) in the request and extract the user info from the token payload. I am having trouble with verifying the token. This is where I'm at; In order to start the migration I proceeded as follows: I added Firebase-Auth to the Android App, while still having Gitkit in the App until Firebase-Auth works. Now I have two

Working with AngularFireObject and switchMap

点点圈 提交于 2020-01-01 07:04:27
问题 I really don't know how to fix this. How can I fix this error? in user.service.ts: import { Injectable } from '@angular/core'; import { AngularFireDatabase, AngularFireList, AngularFireObject } from 'angularfire2/database'; import {AppUser} from './models/app.user'; import * as firebase from 'firebase'; import { Observable } from 'rxjs'; @Injectable({ providedIn: 'root' }) export class UserService { constructor(private db: AngularFireDatabase) { } save(user: firebase.User) { this.db.object('

Recent changes with Firebase Authentication via. Google Sign-In?

℡╲_俬逩灬. 提交于 2020-01-01 06:37:50
问题 I've a question to people who use Firebase Google Sign-In authentication: My app, which has already been working for a couple of months, is using both Google Sign-In and e-mail/password options for Firebase Authentication. However about a week ago I've noticed that the Google Sign-In stopped working. No code was changed, also the e-mail/password option works just as usual. I've checked the documentation (https://firebase.google.com/docs/auth/android/google-signin), it's still the same (My app

Recent changes with Firebase Authentication via. Google Sign-In?

ぐ巨炮叔叔 提交于 2020-01-01 06:37:20
问题 I've a question to people who use Firebase Google Sign-In authentication: My app, which has already been working for a couple of months, is using both Google Sign-In and e-mail/password options for Firebase Authentication. However about a week ago I've noticed that the Google Sign-In stopped working. No code was changed, also the e-mail/password option works just as usual. I've checked the documentation (https://firebase.google.com/docs/auth/android/google-signin), it's still the same (My app

Recent changes with Firebase Authentication via. Google Sign-In?

两盒软妹~` 提交于 2020-01-01 06:37:07
问题 I've a question to people who use Firebase Google Sign-In authentication: My app, which has already been working for a couple of months, is using both Google Sign-In and e-mail/password options for Firebase Authentication. However about a week ago I've noticed that the Google Sign-In stopped working. No code was changed, also the e-mail/password option works just as usual. I've checked the documentation (https://firebase.google.com/docs/auth/android/google-signin), it's still the same (My app

In Firebase 9.0.0 API, how to check the user has valid Auth session or not?

笑着哭i 提交于 2020-01-01 05:46:16
问题 In legacy Firebase API, I was using "mFirebase.getAuth().getExpires()" to validate the user session. But in new Firebase 9.0.0 API, I couldn't find such validation. Right now I'm checking the availability of Auth session as below, public static boolean hasValidAuthToken() { return FirebaseAuth.getInstance().getCurrentUser() != null ? true : false; } How can I handle this, if the token got expired? Update: Actually I'm doing custom Authentication. Having Firebase server sdk(java) at server