Skip to content

Commit

Permalink
Point the demo app to use local auth SDK changes by default.
Browse files Browse the repository at this point in the history
Update the README with steps to use the staging endpoint.
  • Loading branch information
prameshj committed Mar 8, 2023
1 parent 75d4a9a commit 3f6403f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
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

0 comments on commit 3f6403f

Please sign in to comment.