i'm using ionic 2 rc0 and angular 2 and i just added angularfire2 to use firebse auth.
I have all configured and tested (I just see my user logged in the firebase console) but i want to redirect to other page after login.
My code for login:
registerUserWithGoogle() {
console.log('Google');
this.af.auth.login();
}
My firebase config is:
export const myFirebaseAuthConfig = {
provider: AuthProviders.Google,
method: AuthMethods.Redirect
};
So there is a way to redirect after the method login()?