Skip to content

Conversation

prameshj
Copy link
Contributor

@prameshj prameshj commented Dec 28, 2022

Await on the initialization promise to ensure that the processing of a pending redirect result (as part of auth init) is done before triggering a new redirect.

Fixes #6827

@changeset-bot
Copy link

changeset-bot bot commented Dec 28, 2022

🦋 Changeset detected

Latest commit: 98dd2eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/auth Patch
@firebase/auth-compat Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 28, 2022

Size Report 1

Affected Products

  • @firebase/auth

    TypeBase (cd92522)Merge (49e761a)Diff
    browser156 kB157 kB+136 B (+0.1%)
    cordova184 kB184 kB+199 B (+0.1%)
    esm5205 kB205 kB+199 B (+0.1%)
    module156 kB157 kB+136 B (+0.1%)
  • @firebase/auth/cordova

    TypeBase (cd92522)Merge (49e761a)Diff
    browser184 kB184 kB+199 B (+0.1%)
    module184 kB184 kB+199 B (+0.1%)
  • @firebase/auth/internal

    TypeBase (cd92522)Merge (49e761a)Diff
    browser167 kB167 kB+136 B (+0.1%)
    esm5218 kB218 kB+199 B (+0.1%)
    module167 kB167 kB+136 B (+0.1%)
  • bundle

    TypeBase (cd92522)Merge (49e761a)Diff
    auth (GoogleRedirect)91.3 kB91.4 kB+31 B (+0.0%)
  • firebase

    TypeBase (cd92522)Merge (49e761a)Diff
    firebase-auth-compat.js126 kB126 kB+103 B (+0.1%)
    firebase-auth-cordova.js138 kB138 kB+166 B (+0.1%)
    firebase-auth.js117 kB117 kB+103 B (+0.1%)
    firebase-compat.js746 kB746 kB+103 B (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/oienLJ1shv.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 28, 2022

Size Analysis Report 1

Affected Products

  • @firebase/auth

    • linkWithRedirect

      Size

      TypeBase (cd92522)Merge (49e761a)Diff
      size37.8 kB37.9 kB+36 B (+0.1%)
      size-with-ext-deps58.5 kB58.5 kB+36 B (+0.1%)
    • reauthenticateWithRedirect

      Size

      TypeBase (cd92522)Merge (49e761a)Diff
      size37.6 kB37.6 kB+36 B (+0.1%)
      size-with-ext-deps58.2 kB58.2 kB+36 B (+0.1%)
    • signInWithRedirect

      Size

      TypeBase (cd92522)Merge (49e761a)Diff
      size37.3 kB37.3 kB+31 B (+0.1%)
      size-with-ext-deps57.9 kB57.9 kB+31 B (+0.1%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/NPW7TMmI3g.html

@prameshj prameshj force-pushed the redirect-race2 branch 2 times, most recently from 4949a7b to d7f1921 Compare January 4, 2023 08:14
@prameshj prameshj marked this pull request as ready for review January 4, 2023 17:52
@prameshj prameshj requested review from avolkovi, lisajian, sam-gc, yuchenshi and egilmorez as