문제

I'm trying to implement Firebase's Google authentication in the popup window of a chrome extension. The regular email/password authentication works fine, but when I try with Google auth, it hangs on a grey screen whose URL begins with "https://auth.firebase.com/auth/google/callback?state=..."

Any idea what the issue is?

도움이 되었습니까?

해결책

Note that Firebase Simple Login is a separate service built on top of Firebase Authentication, intended to simplify authenticating users and generating Firebase Auth. Tokens for use in Security Rules.

At the time of this writing, authenticating via pop-up in a browser extension is unsupported via Firebase Simple Login, due to the constraints around authenticating origins in OAuth. In order to use Firebase Simple Login for this task, the login will have to take place on a hosted domain.

See Firebase Authentication in a Chrome Extension Background Page for related information and answer.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top