Skip to content

Commit

Permalink
update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
yesyash committed Jun 11, 2024
1 parent 700de6b commit 0adec2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
- Press the `Run` button on the top right of your screen to run the application.
![img.png](public/highlight-run-application.png)

## Steps to run authenticate a user locally
## Steps to authenticate a user during development
- Run RDS backend on your local machine
- Copy the `public key` from `local.js` (if not in `local.js` copy it from `development.js`) and add it in your `.env` file.
- Run skill tree frontend, click on `signin with github` button
- Once authenticated you will be redirected to `localhost:4000` (skill tree frontend dashboard) and a `rds-session-v2-development` cookie will be set in the browser which you can when making API calls locally.
- Once authenticated you will be redirected to `localhost:4000` (skill tree frontend homepage) and a `rds-session-v2-development` cookie will be set in the browser which will be used for authentication when making API calls.
- NOTE:
- make sure that `incomeUserDetails` for your user is set to false else the redirect will not work correctly
- make sure that `incompleteUserDetails` is false for the user in firestore, else the redirect will not work as intended.


## To Authenticate Yourself
Expand Down

0 comments on commit 0adec2e

Please sign in to comment.