Skip to content

Commit

Permalink
Update docs for sample v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DonOmalVindula committed Feb 22, 2023
1 parent 799a290 commit 683ba89
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions samples/asgardeo-react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ This sample is developed to demonstrate the basic usage of the Asgardeo Auth Rea

## Getting Started

### Prerequisites
- `Node.js` (version 10 or above).
- `yarn` package manager.

### Register an Application

Follow the instructions in the [Try Out the Sample Apps](../../README.md#try-out-the-sample-apps) section to register an application.
Follow the instructions in the [Try Out the Sample Apps](../../SAMPLE_APPS.md#try-out-the-sample-apps) section to register an application.

Make sure to add `https://localhost:3000` as a Redirect URL and also add it under allowed origins.

Expand All @@ -27,14 +31,15 @@ Read more about the SDK configurations [here](../../README.md#authprovider).
"clientID": "<ADD_CLIENT_ID_HERE>",
"baseUrl": "https://api.asgardeo.io/t/<org_name>",
"signInRedirectURL": "https://localhost:3000",
"signOutRedirectURL": "https://localhost:3000"
"signOutRedirectURL": "https://localhost:3000",
"scope": ["profile"]
}
```

### Run the Application

```bash
npm install && npm start
yarn install && npm start
```
The app should open at [`https://localhost:3000`](https://localhost:3000)

Expand Down

0 comments on commit 683ba89

Please sign in to comment.