-
Notifications
You must be signed in to change notification settings - Fork 927
Auth explicit initialization #4714
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: 76a533d The changes in this PR will be included in the next version bump. This PR includes changesets to release 38 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 |
@@ -76,6 +80,23 @@ export function registerAuth(clientPlatform: ClientPlatform): void { | |||
}, | |||
ComponentType.PUBLIC | |||
) | |||
/** | |||
* Auth can only be initialized by explicitly calling getAuth() or initializeAuth() | |||
* For why we do this, See https://docs.google.com/document/d/1vy9aI-fELpL2xlREoZt12o0JNw-JVNz4OwxYd9HcT0Y/edit?resourcekey=0-A714tRurcRonkj3lDuKVCw#heading=h.wcvc4xz0pwxf |
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.
Please create a go link for this
Changeset File Check
|
Implements go/firebase-next-auth-init
Removes the need to throw an exception if, for example, firestore is initialized before Auth. Addresses #4529