Skip to content

Commit 497c38a

Browse files
authored
Point the demo app to use local auth SDK changes by default. (#7106)
Update the README with steps to use the staging endpoint.
1 parent e0b677e commit 497c38a

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

packages/auth/demo/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,22 @@ The demo page by default runs against the actual Auth Backend. To run against th
9090
yarn run demo:emulator
9191
```
9292

93+
## Running against Auth Staging endpoint
94+
95+
Modify the configured endpoint to staging by following the changes in this branch:
96+
97+
https://github.com/firebase/firebase-js-sdk/compare/use-staging
98+
9399
## Running against local changes to auth package
94100

95-
By default, the demo runs against the latest release of firebase-auth sdk. This can be modified by:
101+
102+
By default, the demo runs against the local firebase-auth implementation in packages/auth/src.
103+
This can be modified to point to a released version using:
96104

97105
```
98106
// packages/auth/demo/package.json
99-
+ "@firebase/auth": "file:..",
100-
- "@firebase/auth": "0.18.0",
107+
- "@firebase/auth": "file:..",
108+
+ "@firebase/auth": "0.18.0",
101109
```
102110

103111
## Troubleshooting

packages/auth/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"dependencies": {
2020
"@firebase/app": "0.7.24",
21-
"@firebase/auth": "0.20.1",
21+
"@firebase/auth": "file:..",
2222
"@firebase/logger": "0.3.2",
2323
"@firebase/util": "1.6.0",
2424
"tslib": "^2.1.0"

0 commit comments

Comments
 (0)