firebase-js-sdk icon indicating copy to clipboard operation
firebase-js-sdk copied to clipboard

Microsoft sign-in with Chrome extension Manifest v3

Open rendomnet opened this issue 3 years ago • 3 comments

[REQUIRED] Describe your environment

  • Operating System version: Mac Os
  • Browser version: Chrome latest
  • Firebase SDK version: 11.0.1
  • Firebase Product: auth

[REQUIRED] Describe the problem

According to this documentation https://firebase.google.com/docs/auth/web/microsoft-oauth firebase do not support manual sign-in flow How to use Microsoft sign when developing Chrome extension with Manifest v3?

Steps to reproduce:

According to documentation there is no way for Chrome extension with Manifest v3 to sign in with Microsoft.

Relevant Code:

rendomnet avatar Aug 26 '22 09:08 rendomnet

Thanks for filing this. It is true that the way social sign in worked under Manifest v2 no longer works in Manifest v3. We're aware of the issue but can't provide any timeline for updates/changes.

sam-gc avatar Aug 26 '22 17:08 sam-gc

@sam-gc I cant event use my manual oauth0 auth flow which I made because of this manifest v3 limitation. When I pass id token to signInWithCredential it says "invalid credentials".

rendomnet avatar Aug 26 '22 18:08 rendomnet

Yeah unfortunately that's a limitation of Microsoft sign in. This works for other providers but not for Microsoft. See the section in the docs entitled "Advanced: Handle the sign-in flow manually" -- https://firebase.google.com/docs/auth/web/microsoft-oauth#advanced:-handle-the-sign-in-flow-manually"

sam-gc avatar Aug 26 '22 19:08 sam-gc