Skip to content

Commit

Permalink
Merge pull request #208 from Web3Auth/feat/auth0-rwa
Browse files Browse the repository at this point in the history
added rwa application support in auth0
  • Loading branch information
chaitanyapotti authored Jul 14, 2022
2 parents 2ab39b9 + 41bef4f commit 1204be6
Show file tree
Hide file tree
Showing 43 changed files with 85,669 additions and 27,407 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "streetsidesoftware.code-spell-checker", "dbaeumer.vscode-eslint"]
}
6 changes: 6 additions & 0 deletions examples/auth0-react-example/api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
AUTH_URL = https://test-tor.us.auth0.com/oauth/token
PORT = 3001
CLIENT_ID = M7Gutk7odQu3T3VABOq5oEENmZuJFRYt
CLIENT_SECRET = *****
REDIRECT_URI = http://localhost:3001
FRONT_ENDPOINT = http://localhost:3000/rwa?token=
13 changes: 13 additions & 0 deletions examples/auth0-react-example/api/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}
17 changes: 17 additions & 0 deletions examples/auth0-react-example/api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Express Server for auth0 RWA example

## Running This Sample Locally

1. Install the dependencies with npm:

```bash
npm install
```

2. Rename `.env.example` to `.env` and replace or check the values.

3. Run server

```bash
node server.js or nodemon server.js
```
Loading

0 comments on commit 1204be6

Please sign in to comment.