Meteor 및 Facebook 또는 Google 로그인을 사용하는 모바일 앱에서 작업하고 있습니다.Meteor Social Login - Facebook 또는 Google을 사용하여 oauth2 로그인 페이지가 비어 있습니다.
Android 기기에서 작동합니다.
하지만 iOS 기기에서는 성공적인 인증 후에 빈 페이지가 나타납니다. 사용자는 페이지를 닫고 앱을 다시 얻으려면 '완료'버튼을 클릭해야합니다.
유성 버전 1.3.4.4
최신 accounts-facebook
, accounts-google
패키지. 유성 코르도바를 추가 .... 나는이 버그 들거 오랜 시간의 해결책을 찾기
//Oauth login with Facebook.
this.loginFB = function() {
Meteor.loginWithFacebook({
requestPermissions: ['email', 'public_profile'],
redirectUrl: Meteor.absoluteUrl('_oauth/facebook')
}, function(err){
if(err.error === 'Email exists.') {
if (Meteor.isCordova) {
} else {
}
}
});
};
//Oauth login with Google.
this.loginGoogle = function() {
Meteor.loginWithGoogle({
requestPermissions: ['email', 'profile'],
redirectUrl: Meteor.absoluteUrl('_oauth/google')
}, function(err){
if(err.error === 'Email exists.') {
if (Meteor.isCordova) {
} else {
}
}
});
};
이것은 관련이있을 수도 있습니다 http : // stackoverflow.com/questions/39936777/meteor-1-3-accounts-facebook-login-for-ios-not-working? noredirect = 1 # comment67179180_39936777 – Mikkel