-
Notifications
You must be signed in to change notification settings - Fork 929
Implement beforeAuthStateChanged() Auth middleware function #6151
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
Conversation
🦋 Changeset detectedLatest commit: b8fb38a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (268,808 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
…6161) * Add integration tests for auth middleware * Webdriver tests * Lint * Formatting
* Fix redirect middleware * Fix compat tests * Formatting * PR feedback
@@ -254,6 +254,16 @@ export interface Auth { | |||
error?: ErrorFn, | |||
completed?: CompleteFn | |||
): Unsubscribe; | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@egilmorez Can we get a review of the comments here? They will go into the reference docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG! Small nit: we avoid future tense whenever present suffices. Thanks!
* Add onAbort and refactor middleware * Update packages/auth/src/core/auth/middleware.test.ts Co-authored-by: Yuchen Shi <[email protected]> * Add beforeAuthStateChanged fn export (#6222) * Make some doc comment changes (#6229) Co-authored-by: Yuchen Shi <[email protected]> Co-authored-by: James Daniels <[email protected]> Co-authored-by: Christina Holland <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Design doc: go/firebase-auth-middleware