Title: The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth` · Issue #3815 · angular/angularfire · GitHub
Open Graph Title: The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth` · Issue #3815 · angular/angularfire
X Title: The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth` · Issue #3815 · angular/angularfire
Description: The cookie sync in step 2 of the server-side rendering section of docs/auth.md, and sample/src/app/auth/auth.component.ts, import beforeAuthStateChanged from firebase/auth instead of @angular/fire/auth. That was a workaround for #3748: A...
Open Graph Description: The cookie sync in step 2 of the server-side rendering section of docs/auth.md, and sample/src/app/auth/auth.component.ts, import beforeAuthStateChanged from firebase/auth instead of @angular/fire/...
X Description: The cookie sync in step 2 of the server-side rendering section of docs/auth.md, and sample/src/app/auth/auth.component.ts, import beforeAuthStateChanged from firebase/auth instead of @angular/fire/...
Opengraph URL: https://github.com/angular/angularfire/issues/3815
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth`","articleBody":"The cookie sync in step 2 of the server-side rendering section of `docs/auth.md`, and `sample/src/app/auth/auth.component.ts`, import `beforeAuthStateChanged` from `firebase/auth` instead of `@angular/fire/auth`. That was a workaround for #3748: AngularFire's version kept the app marked as busy until its callback first ran, and the callback only runs when someone signs in or out.\n\nThe fix (#3770) shipped in AngularFire 20.1.1 and 21.0.0-rc.2.\n\nSo the guide and the sample can import `beforeAuthStateChanged` from `@angular/fire/auth` like the rest of the guide. The note should stay for the releases that still have the bug: 20.1.0 and earlier, and 21.0.0-rc.0 and rc.1.\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-10-24T13:58:30Z","url":"https://github.com/angular/angularfire/issues/3815"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a64f4432-b2e1-6c91-f1ed-18592e4db9e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8132:3BA08A:99E87:CAE68:6B036968 |
| html-safe-nonce | 9eaf1caf88da3f9f144a546569c7e737f3ce7e3ed7ff49ff8efca764c4d039a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTMyOjNCQTA4QTo5OUU4NzpDQUU2ODo2QjAzNjk2OCIsInZpc2l0b3JfaWQiOiI5MDAwMDk2NzI5MjQ4NTI0NjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bfcea7cff20d67581b0aa39bab6b7ce5c48f14662160db32000b866efad8b814 |
| hovercard-subject-tag | issue:6013702823 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3815/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35586cc2792ddc259f212f2f7ca385965ccda5b8e80e4b44c142cca83f8a6048/angular/angularfire/issues/3815 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35586cc2792ddc259f212f2f7ca385965ccda5b8e80e4b44c142cca83f8a6048/angular/angularfire/issues/3815 |
| og:image:alt | The cookie sync in step 2 of the server-side rendering section of docs/auth.md, and sample/src/app/auth/auth.component.ts, import beforeAuthStateChanged from firebase/auth instead of @angular/fire/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width