Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
7fa5d7c
fix: upgrade @babel/core from 7.17.8 to 7.17.9
snyk-bot Apr 27, 2022
805edbe
Merge pull request #251 from auth0-samples/snyk-upgrade-d9f273a03be32…
Apr 28, 2022
751b1c1
Bump ejs from 3.1.6 to 3.1.7 in /Sample-01
dependabot[bot] Apr 28, 2022
587f74c
Merge pull request #252 from auth0-samples/dependabot/npm_and_yarn/Sa…
Apr 28, 2022
0ddffb3
Bump async from 2.6.3 to 2.6.4 in /Sample-01
dependabot[bot] Apr 28, 2022
f62329d
Merge pull request #253 from auth0-samples/dependabot/npm_and_yarn/Sa…
Apr 28, 2022
ea4d3e3
fix: upgrade react-scripts from 5.0.0 to 5.0.1
snyk-bot May 3, 2022
a17e7e1
Merge pull request #254 from auth0-samples/snyk-upgrade-8dc7accbb5ebc…
May 4, 2022
0c59c75
replace broken url (#256)
moshfeu May 4, 2022
0a3254a
fix: upgrade react-router-dom from 5.3.0 to 5.3.1
snyk-bot May 8, 2022
1009e37
Merge pull request #257 from auth0-samples/snyk-upgrade-98f71ac4372c5…
May 9, 2022
1e43f4a
fix: upgrade @auth0/auth0-react from 1.9.0 to 1.10.0
snyk-bot May 10, 2022
c93b8f9
Merge pull request #258 from auth0-samples/snyk-upgrade-6f35cf53efc3d…
Widcket May 11, 2022
413c30c
fix: upgrade autoprefixer from 10.4.4 to 10.4.5
snyk-bot May 15, 2022
4757084
Merge pull request #259 from auth0-samples/snyk-upgrade-c371267314207…
Widcket May 16, 2022
831f61b
fix: upgrade express from 4.17.3 to 4.18.0
snyk-bot May 17, 2022
4973c82
fix: upgrade typescript from 4.6.3 to 4.6.4
snyk-bot May 20, 2022
4cf12d2
fix: upgrade @babel/core from 7.17.9 to 7.17.10
snyk-bot May 21, 2022
8b6093e
fix: upgrade postcss from 8.4.12 to 8.4.13
snyk-bot May 21, 2022
36d7d27
Merge pull request #261 from auth0-samples/snyk-upgrade-0614c0de28095…
May 23, 2022
7539d0d
Merge branch 'master' into snyk-upgrade-a7be487d2c6808c05da505efad7537e2
May 23, 2022
7b8b0c0
Merge pull request #262 from auth0-samples/snyk-upgrade-a7be487d2c680…
May 23, 2022
b968513
Merge branch 'master' into snyk-upgrade-9de3f2d9f753b65c71b219e049a1d87c
Widcket May 23, 2022
adba130
Merge branch 'master' into snyk-upgrade-9be237975a72fb69490fee0521a0df5b
Widcket May 23, 2022
14caecd
Merge pull request #263 from auth0-samples/snyk-upgrade-9be237975a72f…
Widcket May 23, 2022
3582720
Merge branch 'master' into snyk-upgrade-9de3f2d9f753b65c71b219e049a1d87c
May 23, 2022
a3a6bf9
Merge pull request #264 from auth0-samples/snyk-upgrade-9de3f2d9f753b…
Widcket May 23, 2022
1575281
Create semgrep.yml
May 27, 2022
f154a85
Create dependabot.yml
May 27, 2022
68da2dc
Bump react-router-dom from 5.3.1 to 5.3.3 in /Sample-01
dependabot[bot] May 27, 2022
e319e2c
Bump nodemon from 2.0.15 to 2.0.16 in /Sample-01
dependabot[bot] May 27, 2022
9a7139e
Bump @testing-library/jest-dom from 5.16.3 to 5.16.4 in /Sample-01
dependabot[bot] May 27, 2022
b3f05a3
Bump @babel/core from 7.18.0 to 7.18.2 in /Sample-01
dependabot[bot] May 27, 2022
9be5194
Merge pull request #265 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 27, 2022
d7674f8
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/nodemon-…
May 27, 2022
eb9599c
Merge pull request #266 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 27, 2022
040fa3a
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/testing-…
May 27, 2022
0dc4a7a
Merge pull request #267 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 27, 2022
4675ddf
Bump @testing-library/react from 12.1.4 to 12.1.5 in /Sample-01
dependabot[bot] May 27, 2022
4279da1
Merge pull request #268 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 27, 2022
1c21cab
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/babel/co…
May 27, 2022
0f91c9f
Merge pull request #269 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 27, 2022
6b8fb19
Bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] May 30, 2022
405e65a
Bump typescript from 4.6.4 to 4.7.2 in /Sample-01
dependabot[bot] May 30, 2022
57ecb5e
Merge pull request #271 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 30, 2022
28a25bc
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/babel/pl…
May 30, 2022
aa0031b
Merge pull request #270 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 30, 2022
85ed550
Bump @babel/plugin-syntax-flow from 7.16.7 to 7.17.12 in /Sample-01
dependabot[bot] May 30, 2022
3b8a3a7
Merge pull request #272 from auth0-samples/dependabot/npm_and_yarn/Sa…
May 30, 2022
2278261
Bump typescript from 4.7.2 to 4.7.3 in /Sample-01
dependabot[bot] Jun 6, 2022
61774ef
Merge pull request #273 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 6, 2022
a978b3d
Bump @babel/core from 7.18.2 to 7.18.5 in /Sample-01
dependabot[bot] Jun 13, 2022
188d4e3
Merge pull request #274 from auth0-samples/dependabot/npm_and_yarn/Sa…
Jun 13, 2022
cc28932
Bump typescript from 4.7.3 to 4.7.4 in /Sample-01
dependabot[bot] Jun 20, 2022
be1e9bb
Merge pull request #275 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 20, 2022
82ed69d
Update dependabot.yml
Jun 22, 2022
5dcc6f7
Bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] Jun 28, 2022
535080b
Merge pull request #277 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 28, 2022
d9e4307
Bump @babel/plugin-syntax-flow from 7.17.12 to 7.18.6 in /Sample-01
dependabot[bot] Jun 28, 2022
ac11dea
Merge pull request #276 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 28, 2022
0da0d3d
Bump @fortawesome/react-fontawesome from 0.1.18 to 0.2.0 in /Sample-01
dependabot[bot] Jun 30, 2022
8b51806
Merge pull request #278 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 30, 2022
09655ef
fix: upgrade @auth0/auth0-react from 1.10.1 to 1.10.2
snyk-bot Jul 13, 2022
e3528b1
Merge pull request #279 from auth0-samples/snyk-upgrade-d3a643a6e724d…
Widcket Jul 13, 2022
9795661
Update yarn.lock
Jul 14, 2022
07257c3
Merge pull request #280 from auth0-samples/security/update-dependencies
Jul 14, 2022
efddfdb
fix: upgrade @babel/core from 7.18.5 to 7.18.6
snyk-bot Jul 19, 2022
64736db
Merge pull request #281 from auth0-samples/snyk-upgrade-cf21160401587…
Jul 20, 2022
5869ddb
Bump terser from 5.12.1 to 5.14.2 in /Sample-01
dependabot[bot] Jul 20, 2022
2bd7afc
Merge pull request #282 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 20, 2022
0b90ac8
fix: upgrade autoprefixer from 10.4.7 to 10.4.8
snyk-bot Aug 20, 2022
6c8574d
Merge pull request #283 from auth0-samples/snyk-upgrade-12c786b0abc0e…
Widcket Aug 22, 2022
f8f43b3
fix: upgrade multiple dependencies with Snyk
snyk-bot Aug 23, 2022
dae3ec4
build(deps): bump typescript from 4.7.4 to 4.8.2 in /Sample-01
dependabot[bot] Aug 26, 2022
620305f
Merge pull request #285 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Aug 26, 2022
e7e355d
Merge branch 'master' into snyk-upgrade-25d30c1bb12fb3c9a2fbf6772c7550b5
Widcket Aug 27, 2022
e5feb29
Merge pull request #284 from auth0-samples/snyk-upgrade-25d30c1bb12fb…
Widcket Aug 27, 2022
7c13ff5
fix: upgrade postcss from 8.4.14 to 8.4.16
snyk-bot Aug 28, 2022
cf041ea
Merge pull request #286 from auth0-samples/snyk-upgrade-53545145ae232…
Aug 30, 2022
12ffe04
Update dependency lockfiles
Aug 30, 2022
8200bbb
Merge pull request #287 from auth0-samples/chore/update-dependencies
Widcket Aug 30, 2022
559e13e
build(deps): bump @auth0/auth0-react from 1.10.2 to 1.11.0 in /Sample-01
dependabot[bot] Sep 13, 2022
d011dfb
Merge pull request #290 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Sep 13, 2022
8a82750
build(deps): bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] Sep 13, 2022
cd71e49
Merge pull request #288 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Sep 13, 2022
ffa5e4c
build(deps): bump @babel/core from 7.18.13 to 7.19.0 in /Sample-01
dependabot[bot] Sep 13, 2022
6f1de18
Merge pull request #289 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Sep 13, 2022
9bf98d2
[Snyk] Upgrade typescript from 4.8.2 to 4.8.3 (#292)
Sep 30, 2022
c5e3ffa
fix: upgrade typescript from 4.8.2 to 4.8.3
snyk-bot Oct 1, 2022
f7d0213
fix: upgrade autoprefixer from 10.4.8 to 10.4.9
snyk-bot Oct 3, 2022
0364876
Merge pull request #294 from auth0-samples/snyk-upgrade-0a0cd018eb707…
Widcket Oct 3, 2022
b4befd3
Merge branch 'master' into snyk-upgrade-e76e2b2ec23857bad8a840812f421ce9
Widcket Oct 3, 2022
03eacd2
Merge pull request #293 from auth0-samples/snyk-upgrade-e76e2b2ec2385…
Widcket Oct 3, 2022
99b33da
fix: upgrade autoprefixer from 10.4.8 to 10.4.9
snyk-bot Oct 4, 2022
b2857f2
fix: upgrade autoprefixer from 10.4.8 to 10.4.10
snyk-bot Oct 5, 2022
9c5e3b7
fix: upgrade @babel/core from 7.19.0 to 7.19.1
snyk-bot Oct 6, 2022
fab858a
build(deps): bump @auth0/auth0-react from 1.11.0 to 1.12.0 in /Sample-01
dependabot[bot] Oct 12, 2022
2ca6a7a
Merge pull request #298 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Oct 12, 2022
1070537
Merge branch 'master' into snyk-upgrade-5f8d0f2db14892cf3e0e6b12fe1aa4f9
Widcket Oct 21, 2022
b408e41
fix: upgrade postcss from 8.4.16 to 8.4.17
snyk-bot Oct 22, 2022
f63b203
Merge pull request #299 from auth0-samples/snyk-upgrade-8cfb4baad0b54…
Oct 24, 2022
f9fa1dc
Merge branch 'master' into snyk-upgrade-5f8d0f2db14892cf3e0e6b12fe1aa4f9
Oct 24, 2022
74c8267
Merge pull request #297 from auth0-samples/snyk-upgrade-5f8d0f2db1489…
Oct 24, 2022
5217ffa
Merge branch 'master' into snyk-upgrade-c46fe10f0d4e0759293c8c0bd01e0e09
Oct 24, 2022
46f308e
Merge pull request #296 from auth0-samples/snyk-upgrade-c46fe10f0d4e0…
Oct 24, 2022
a0f91a6
Merge branch 'master' into snyk-upgrade-0a0cd018eb7078ffbc85ee5afa647e15
Oct 24, 2022
4eb2de1
Merge pull request #295 from auth0-samples/snyk-upgrade-0a0cd018eb707…
Oct 24, 2022
2ea3680
fix: upgrade @babel/core from 7.19.0 to 7.19.3
snyk-bot Oct 24, 2022
b2c0ff2
fix: upgrade react-router-dom from 5.3.3 to 5.3.4
snyk-bot Oct 24, 2022
cd77634
fix: upgrade postcss from 8.4.16 to 8.4.17
snyk-bot Oct 24, 2022
c7171ce
Merge pull request #302 from auth0-samples/snyk-upgrade-88068d7126957…
Oct 24, 2022
e34298b
Merge branch 'master' into snyk-upgrade-bbed36d6b4a6e3d4a4ab532d0bbfe64e
Oct 24, 2022
b3809ec
Merge pull request #301 from auth0-samples/snyk-upgrade-bbed36d6b4a6e…
Oct 24, 2022
c812404
Merge branch 'master' into snyk-upgrade-5ad8c7b988dfc677955d635e25d10c93
Oct 24, 2022
ff14f0b
Merge pull request #300 from auth0-samples/snyk-upgrade-5ad8c7b988dfc…
Oct 24, 2022
43e2a77
[Snyk] Upgrade @babel/core from 7.19.0 to 7.19.3 (#303)
Oct 27, 2022
5668328
fix: upgrade @babel/core from 7.19.0 to 7.19.3
snyk-bot Oct 28, 2022
b966ab1
Merge pull request #304 from auth0-samples/snyk-upgrade-8f38c6a25eebc…
Oct 29, 2022
5bb54c5
fix: upgrade @babel/core from 7.19.0 to 7.19.3
snyk-bot Oct 30, 2022
fc03bed
fix: upgrade express from 4.18.1 to 4.18.2
snyk-bot Oct 30, 2022
0e46d27
Merge pull request #305 from auth0-samples/snyk-upgrade-8f38c6a25eebc…
Nov 1, 2022
08195a7
Merge branch 'master' into snyk-upgrade-df48c2cea27e4db5efedfa1d958eae45
Nov 1, 2022
0452706
Merge pull request #306 from auth0-samples/snyk-upgrade-df48c2cea27e4…
Nov 1, 2022
30a1b58
fix: upgrade @babel/core from 7.19.0 to 7.19.3
snyk-bot Nov 3, 2022
9d5ea95
fix: upgrade postcss from 8.4.16 to 8.4.18
snyk-bot Nov 3, 2022
5d0ff11
Merge pull request #308 from auth0-samples/snyk-upgrade-aa06aa634c0d8…
Widcket Nov 3, 2022
7ceeb05
fix: upgrade postcss from 8.4.16 to 8.4.18
snyk-bot Nov 6, 2022
82873a3
Merge pull request #309 from auth0-samples/snyk-upgrade-aa06aa634c0d8…
Nov 8, 2022
8830c44
Merge branch 'master' into snyk-upgrade-df48c2cea27e4db5efedfa1d958eae45
Nov 8, 2022
7e4a333
Merge pull request #307 from auth0-samples/snyk-upgrade-df48c2cea27e4…
Nov 8, 2022
678bc2a
build(deps): bump @babel/core from 7.19.0 to 7.20.2 in /Sample-01
dependabot[bot] Nov 8, 2022
c4a332c
Merge pull request #310 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Nov 8, 2022
83dd18b
build(deps): bump loader-utils from 2.0.2 to 2.0.3 in /Sample-01
dependabot[bot] Nov 8, 2022
e452203
Merge pull request #311 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Nov 8, 2022
88750bc
build(deps): bump loader-utils from 2.0.3 to 2.0.4 in /Sample-01
dependabot[bot] Nov 16, 2022
8d60405
build(deps): bump typescript from 4.8.4 to 4.9.3 in /Sample-01
dependabot[bot] Nov 16, 2022
f4bee30
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/loader-u…
Widcket Nov 16, 2022
ca81a47
Merge pull request #312 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Nov 16, 2022
a435bc0
chore: Update Dependencies Lockfile
Dec 12, 2022
fe8a3c2
Update yarn.lock
Dec 12, 2022
3f06d87
Merge pull request #314 from auth0-samples/chore/update-lockfile
Dec 12, 2022
0b019c6
Delete yarn.lock
Dec 12, 2022
75dcd83
Update package-lock.json
Dec 12, 2022
0892f2e
Update package.json
Dec 12, 2022
5324c40
Delete package-lock.json
Dec 12, 2022
b178b83
Create yarn.lock
Dec 12, 2022
3cb8291
build(deps): bump @babel/plugin-transform-react-jsx from 7.19.0 to 7.…
dependabot[bot] Dec 22, 2022
cb1fb5d
build(deps): bump json5 from 1.0.1 to 1.0.2 in /Sample-01
dependabot[bot] Jan 9, 2023
d5848ed
Merge pull request #317 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jan 10, 2023
4765a70
Update sample to use `express-jwt` v8 and `jwks-rsa` v3
evansims Jan 10, 2023
604c627
Merge pull request #318 from auth0-samples/chore/update-dependencies
Widcket Jan 11, 2023
ca85bc4
Update yarn.lock
evansims Jan 11, 2023
c7938ff
Merge beta sample into master (#319)
ewanharris Jan 19, 2023
5556a6e
build(deps): bump express-jwt from 8.3.0 to 8.4.0 in /Sample-01
dependabot[bot] Jan 30, 2023
6c23fda
Merge pull request #320 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jan 30, 2023
6d23063
build(deps): bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] Feb 21, 2023
60352be
build(deps): bump @babel/core from 7.20.12 to 7.21.0 in /Sample-01
dependabot[bot] Feb 21, 2023
d1ddfbb
Merge pull request #321 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Feb 21, 2023
e10c308
Merge branch 'master' into dependabot/npm_and_yarn/Sample-01/babel/co…
Widcket Feb 21, 2023
e2cf020
Merge pull request #322 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Feb 21, 2023
66e173b
build(deps): bump webpack from 5.75.0 to 5.76.1 in /Sample-01
dependabot[bot] Mar 15, 2023
de8d5be
docs: Use yarn instead of npm because lockfile is yarn (#323)
xhiroga Mar 29, 2023
779a425
Move to express-oauth2-jwt-bearer (#328)
ewanharris Mar 29, 2023
701b878
build(deps): bump @babel/plugin-syntax-flow in /Sample-01
dependabot[bot] Mar 31, 2023
eac3d8f
Merge pull request #330 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Mar 31, 2023
7094930
build(deps): bump express-oauth2-jwt-bearer in /Sample-01
dependabot[bot] Apr 4, 2023
e1aa044
Merge pull request #331 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Apr 4, 2023
5c86cd9
build(deps): bump @auth0/auth0-react from 2.0.0 to 2.1.0 in /Sample-0…
dependabot[bot] May 23, 2023
9e63994
build(deps): bump @babel/core from 7.21.0 to 7.22.1 in /Sample-01
dependabot[bot] May 29, 2023
eddca67
Merge pull request #336 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket May 30, 2023
ecf3d91
build(deps): bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] May 30, 2023
ebfbb2a
Merge pull request #335 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket May 30, 2023
2ded149
Update dependencies to support React 18 usage, use React 18 APIs (#334)
ewanharris May 30, 2023
1308ee6
build(deps): bump express-oauth2-jwt-bearer from 1.4.0 to 1.5.0 in /S…
dependabot[bot] Jun 1, 2023
ff16edb
Add issue forms
Widcket Jun 6, 2023
9e82aa0
Merge pull request #337 from auth0-samples/chore/issue-forms
Widcket Jun 7, 2023
e314c24
build(deps): bump @babel/plugin-syntax-flow in /Sample-01
dependabot[bot] Jun 9, 2023
6287b5e
Merge pull request #338 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 9, 2023
656db79
build(deps): bump reactstrap from 9.1.10 to 9.2.0 in /Sample-01
dependabot[bot] Jun 12, 2023
84097f2
Merge pull request #339 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jun 12, 2023
f28edc8
Update codeceptjs (#340)
frederikprijck Jun 23, 2023
e480bdb
build(deps): bump tough-cookie from 4.1.2 to 4.1.3 in /Sample-01
dependabot[bot] Jul 10, 2023
7f67552
Merge pull request #342 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 10, 2023
313a470
build(deps): bump semver from 5.7.1 to 5.7.2 in /Sample-01
dependabot[bot] Jul 11, 2023
5ce9f46
Merge pull request #343 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 12, 2023
d1e3eff
build(deps): bump @auth0/auth0-react from 2.1.0 to 2.2.0 in /Sample-01
dependabot[bot] Jul 13, 2023
0cb965d
Merge pull request #344 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 13, 2023
f99d390
build(deps-dev): bump @testing-library/jest-dom in /Sample-01
dependabot[bot] Jul 19, 2023
e9f84f3
Merge pull request #346 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 19, 2023
03b6878
build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /Sample-01
dependabot[bot] Jul 19, 2023
9da4b0a
Merge pull request #347 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Jul 19, 2023
f6e4711
build(deps): bump @babel/core from 7.22.1 to 7.23.0 in /Sample-01
dependabot[bot] Sep 25, 2023
f3f02d9
Merge pull request #349 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Sep 25, 2023
56340a3
build(deps): bump @adobe/css-tools from 4.0.2 to 4.3.1 in /Sample-01 …
dependabot[bot] Sep 26, 2023
a5ad9b0
build(deps): bump postcss from 8.4.21 to 8.4.31 in /Sample-01 (#350)
dependabot[bot] Oct 6, 2023
bce6ac3
build(deps): bump express-oauth2-jwt-bearer in /Sample-01
dependabot[bot] Oct 10, 2023
e74badf
Merge pull request #351 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Oct 10, 2023
6b428d6
Fix routing from the address bar in prod mode
adamjmcgrath Oct 16, 2023
c7038ce
Merge pull request #352 from auth0-samples/fix-prod-routing
adamjmcgrath Oct 16, 2023
bf42c86
build(deps): bump @babel/traverse from 7.23.0 to 7.23.2 in /Sample-01
dependabot[bot] Oct 19, 2023
31e3c38
Merge pull request #354 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Oct 20, 2023
0d5d3b9
build(deps-dev): bump @testing-library/react in /Sample-01
dependabot[bot] Nov 8, 2023
db8541e
Merge pull request #356 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Nov 8, 2023
6e20dc7
build(deps): bump @babel/plugin-syntax-flow from 7.22.5 to 7.23.3 in …
dependabot[bot] Nov 9, 2023
72d483e
build(deps): bump @babel/plugin-transform-react-jsx in /Sample-01
dependabot[bot] Nov 21, 2023
fcf2341
Merge pull request #358 from auth0-samples/dependabot/npm_and_yarn/Sa…
Widcket Nov 21, 2023
decb8f9
build(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /Sample-01 …
dependabot[bot] Dec 1, 2023
7cdb0b5
added netlify.toml file
abbaspour Nov 14, 2024
aa24af3
Merge pull request #379 from abbaspour/master
arpit-jn Dec 18, 2024
cb76a4c
Updating default audience config values and logic (#382)
mchang16-auth Mar 11, 2025
428e51c
Merge pull request #385 from mchang16-auth/fix-audience
mchang16-auth Mar 20, 2025
6edc353
new
Mar 25, 2026
151acc4
Merge branch 'auth0-samples:master' into 4-do-something-cool
Kaysahni Mar 25, 2026
01d6a92
new new
Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- run:
name: Run integration tests
command: |
docker create --network host --name tester codeception/codeceptjs codeceptjs run-multiple --all --steps --verbose
docker create --network host --name tester codeceptjs/codeceptjs codeceptjs run-multiple --all --steps --verbose
docker cp $(pwd)/lock_login_spa_test.js tester:/tests/lock_login_test.js
docker cp $(pwd)/codecept.conf.js tester:/tests/codecept.conf.js
docker start -i tester
Expand Down
65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug Report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: 🐞 Report a bug
description: Have you found a bug or issue? Create a bug report for this sample

body:
- type: markdown
attributes:
value: |
**Please do not report security vulnerabilities here**. The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.

- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have looked into the [Readme](https://github.com/auth0-samples/auth0-react-samples/tree/master/Sample-01#readme) and have not found a suitable solution or answer.
required: true
- label: I have searched the [issues](https://github.com/auth0-samples/auth0-react-samples/issues) and have not found a suitable solution or answer.
required: true
- label: I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer.
required: true
- label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
required: true

- type: textarea
id: description
attributes:
label: Description
description: Provide a clear and concise description of the issue, including what you expected to happen.
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent.
placeholder: |
1. Step 1...
2. Step 2...
3. ...
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Any other relevant information you think would be useful.
validations:
required: false

- type: dropdown
id: environment-browser
attributes:
label: Which browsers have you tested in?
multiple: true
options:
- Chrome
- Edge
- Safari
- Firefox
- Opera
- Other
validations:
required: true
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature Request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 🧩 Feature request
description: Suggest an idea or a feature for this sample
labels: ["feature request"]

body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have looked into the [Readme](https://github.com/auth0-samples/auth0-react-samples/tree/master/Sample-01#readme) and have not found a suitable solution or answer.
required: true
- label: I have searched the [issues](https://github.com/auth0-samples/auth0-react-samples/issues) and have not found a suitable solution or answer.
required: true
- label: I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer.
required: true
- label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
required: true

- type: textarea
id: description
attributes:
label: Describe the problem you'd like to have solved
description: A clear and concise description of what the problem is.
validations:
required: true

- type: textarea
id: ideal-solution
attributes:
label: Describe the ideal solution
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives-and-workarounds
attributes:
label: Alternatives and current workarounds
description: A clear and concise description of any alternatives you've considered or any workarounds that are currently in place.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 🤔 Help & Questions
url: https://community.auth0.com
about: Ask general support or usage questions in the Auth0 Community forums.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/Sample-01"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-patch"]
25 changes: 25 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Semgrep

on:
pull_request: {}

push:
branches: ["master", "main"]

schedule:
- cron: '30 0 1,15 * *'

jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3

- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

[![CircleCI](https://circleci.com/gh/auth0-samples/auth0-react-samples.svg?style=svg)](https://circleci.com/gh/auth0-samples/auth0-react-samples)
















This is the sample code for the [Auth0 React Quickstart](https://auth0.com/docs/quickstart/spa/react) using [auth0-react](https://github.com/auth0/auth0-react).

Please check out [the sample application](./Sample-01) for an example of how to integrate the Auth0 React SDK into your React applications.
Expand Down Expand Up @@ -30,6 +45,13 @@ If you have found a bug or if you have a feature request, please report them at

[Auth0](https://auth0.com)

## Deploy to Netlify
You can deploy this example as a site on your own to explore and experiment with, by clicking this button.
After deploy, install Auth0 by Okta extension in Netlify and follow the steps to create an App.

<a href="https://app.netlify.com/start/deploy?repository=https://github.com/auth0-samples/auth0-react-samples"><img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" height=30px></a>


## License

This project is licensed under the MIT license. See the [LICENSE](./LICENSE) file for more info.
10 changes: 5 additions & 5 deletions Sample-01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ This sample demonstrates the following use cases:

## Project setup

Use `npm` to install the project dependencies:
Use `yarn` to install the project dependencies:

```bash
npm install
yarn install
```

## Configuration
Expand Down Expand Up @@ -51,15 +51,15 @@ To do this, first copy `src/auth_config.json.example` into a new file in the sam
This compiles and serves the React app and starts the backend API server on port 3001.

```bash
npm run dev
yarn run dev
```

## Deployment

### Compiles and minifies for production

```bash
npm run build
yarn run build
```

### Docker build
Expand All @@ -69,7 +69,7 @@ To build and run the Docker image, run `exec.sh`, or `exec.ps1` on Windows.
### Run your tests

```bash
npm run test
yarn run test
```

## Frequently Asked Questions
Expand Down
16 changes: 4 additions & 12 deletions Sample-01/api-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ const express = require("express");
const cors = require("cors");
const morgan = require("morgan");
const helmet = require("helmet");
const jwt = require("express-jwt");
const jwksRsa = require("jwks-rsa");
const { auth } = require("express-oauth2-jwt-bearer");
const authConfig = require("./src/auth_config.json");

const app = express();
Expand All @@ -15,7 +14,7 @@ const appOrigin = authConfig.appOrigin || `http://localhost:${appPort}`;
if (
!authConfig.domain ||
!authConfig.audience ||
authConfig.audience === "YOUR_API_IDENTIFIER"
authConfig.audience === "{API_IDENTIFIER}"
) {
console.log(
"Exiting: Please make sure that auth_config.json is in place and populated with valid domain and audience values"
Expand All @@ -28,16 +27,9 @@ app.use(morgan("dev"));
app.use(helmet());
app.use(cors({ origin: appOrigin }));

const checkJwt = jwt({
secret: jwksRsa.expressJwtSecret({
cache: true,
rateLimit: true,
jwksRequestsPerMinute: 5,
jwksUri: `https://${authConfig.domain}/.well-known/jwks.json`,
}),

const checkJwt = auth({
audience: authConfig.audience,
issuer: `https://${authConfig.domain}/`,
issuerBaseURL: `https://${authConfig.domain}/`,
algorithms: ["RS256"],
});

Expand Down
47 changes: 23 additions & 24 deletions Sample-01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,32 @@
"prod": "npm-run-all --parallel server api-server"
},
"dependencies": {
"@auth0/auth0-react": "^1.9.0",
"@babel/core": "^7.17.8",
"@babel/plugin-syntax-flow": "^7.16.7",
"@babel/plugin-transform-react-jsx": "^7.17.3",
"@fortawesome/fontawesome-svg-core": "^1.2.17",
"@fortawesome/free-solid-svg-icons": "^5.8.1",
"@fortawesome/react-fontawesome": "^0.1.4",
"autoprefixer": "^10.4.4",
"cors": "^2.8.5",
"express": "^4.16.4",
"express-jwt": "^6.1.2",
"helmet": "^4.4.1",
"highlight.js": "^10.0.3",
"jwks-rsa": "^1.12.2",
"morgan": "^1.9.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"react": "^17.0",
"react-dom": "^17.0",
"react-router-dom": "^5.0",
"@auth0/auth0-react": "^2.2.0",
"@babel/core": "^7.23",
"@babel/plugin-syntax-flow": "^7.23",
"@babel/plugin-transform-react-jsx": "^7.23",
"@fortawesome/fontawesome-svg-core": "^1.2",
"@fortawesome/free-solid-svg-icons": "^5.8",
"@fortawesome/react-fontawesome": "^0.2",
"autoprefixer": "^10.4",
"cors": "^2.8",
"express": "^4.18",
"express-oauth2-jwt-bearer": "^1.6.0",
"helmet": "^4.4",
"highlight.js": "^10.0",
"morgan": "^1.9",
"npm-run-all": "^4.1",
"postcss": "^8.4",
"react": "^18",
"react-dom": "^18",
"react-router-dom": "^5.3",
"react-scripts": "^5.0",
"reactstrap": "^8.0",
"typescript": "^4.6.3"
"reactstrap": "^9.2",
"typescript": "^4.9"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.0",
"@testing-library/react": "^12.0",
"@testing-library/jest-dom": "^5.17",
"@testing-library/react": "^14.1",
"jest-environment-jsdom": "^27.0",
"jest-fetch-mock": "^3.0",
"nodemon": "^2.0"
Expand Down
2 changes: 1 addition & 1 deletion Sample-01/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css"
/>

<title>Calling an API</title>
<title>React SDK Sample</title>
</head>
<body class="h-100">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 2 additions & 0 deletions Sample-01/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ app.use(

app.use(express.static(join(__dirname, "build")));

app.get('*', (req, res) => res.sendFile(join(__dirname, 'build', 'index.html')));

app.listen(port, () => console.log(`Server listening on port ${port}`));
6 changes: 2 additions & 4 deletions Sample-01/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { render } from "@testing-library/react";
import App from './App';

it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
render(<App />);
});
2 changes: 1 addition & 1 deletion Sample-01/src/__tests__/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("The config module", () => {
});

it("should omit the audience if left at a default value", () => {
mockConfig({ audience: "YOUR_API_IDENTIFIER" });
mockConfig({ audience: "{yourApiIdentifier}" });

const { getConfig } = require("../config");

Expand Down
6 changes: 4 additions & 2 deletions Sample-01/src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ const NavBar = () => {

const logoutWithRedirect = () =>
logout({
returnTo: window.location.origin,
logoutParams: {
returnTo: window.location.origin,
}
});

return (
<div className="nav-container">
<Navbar color="light" light expand="md">
<Navbar color="light" light expand="md" container={false}>
<Container>
<NavbarBrand className="logo" />
<NavbarToggler onClick={toggle} />
Expand Down
Loading
Loading