Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Await on the auth initialization promise in signIn/link/reauthenticateWithRedirect #6914

Merged
merged 3 commits into from
Jan 6, 2023

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
Copy link
Contributor Author

prameshj commented Jan 4, 2023

/assign @sam-gc @renkelvin

Copy link
Contributor

@sam-gc sam-gc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert yarn.lock

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants