Preventing automatic sign-in when using Google+ Sign-In

前端 未结 10 2108
陌清茗
陌清茗 2020-12-01 02:02

I am in the process of integrating Google+ sign in with my site, which also lets users sign in with Twitter and Facebook. The sign in page of the site therefore has 3 button

10条回答
  •  盖世英雄少女心
    2020-12-01 02:36

    Our AngularJS solution was:

    $scope.$on('event:google-plus-signin-success', function (event, authResult) {
                    if( authResult.status.method !== "AUTO"){
                        onGoogleLogIn(authResult[settings.configKeys.googleResponseToken]);
                    }
                });
    

提交回复
热议问题