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

Point the demo app to use local auth SDK changes by default. #7106

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 11 additions & 3 deletions packages/auth/demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,22 @@ The demo page by default runs against the actual Auth Backend. To run against th
yarn run demo:emulator
```

## Running against Auth Staging endpoint

Modify the configured endpoint to staging by following the changes in this branch:

https://github.com/firebase/firebase-js-sdk/compare/use-staging

## Running against local changes to auth package

By default, the demo runs against the latest release of firebase-auth sdk. This can be modified by:

By default, the demo runs against the local firebase-auth implementation in packages/auth/src.
This can be modified to point to a released version using:

```
// packages/auth/demo/package.json
+ "@firebase/auth": "file:..",
- "@firebase/auth": "0.18.0",
- "@firebase/auth": "file:..",
+ "@firebase/auth": "0.18.0",
```

## Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@firebase/app": "0.7.24",
"@firebase/auth": "0.20.1",
"@firebase/auth": "file:..",
"@firebase/logger": "0.3.2",
"@firebase/util": "1.6.0",
"tslib": "^2.1.0"
Expand Down