Skip to content

Commit d902c49

Browse files
committed
Update oidc-spa
1 parent 635f22b commit d902c49

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jspm_packages
4545
/git_tmp_xIdLsIt*
4646
/.yarn_home
4747

48-
/.env.local.sh
48+
/.env.local

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It's purpose is to enable you to have an API to test your OIDC client integratio
77
It was originally made for: https://github.com/InseeFrLab/vite-insee-starter
88

99
The easier way to deploy it is to use [Railway](https://railway.app/).
10-
You need to set the following environment variables.
10+
You need to set the following environment variables (example):
1111

1212
```.env
1313
OIDC_ISSUER_URI=https://auth.code.gouv.fr/auth/realms/playground
@@ -22,9 +22,10 @@ This is a demo with our Keycloak instance, adapt for your own OIDC provider.
2222
```bash
2323
git clone https://github.com/InseeFrLab/todo-rest-api
2424
cd todo-rest-api
25+
cp .env.local.sample .env.local
2526
yarn
26-
yarn build
2727
yarn dev
28+
2829
```
2930

3031
## Stack

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tsafe": "^1.7.2",
2323
"url-join": "^5.0.0",
2424
"zod": "^3.23.8",
25-
"oidc-spa": "^6.1.17"
25+
"oidc-spa": "^6.5.2"
2626
},
2727
"devDependencies": {
2828
"@types/node": "^20.12.12",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ minimist@^1.2.6:
245245
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
246246
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
247247

248-
oidc-spa@^6.1.17:
249-
version "6.1.17"
250-
resolved "https://registry.yarnpkg.com/oidc-spa/-/oidc-spa-6.1.17.tgz#3e8ed7662f99a93515c23d9f18f56c8b5eb5345a"
251-
integrity sha512-SiwOZKtGSlgDSSTkgR91VndIEj7UvbRfgdBco8JPSeIL4H/fWZIV59+JaqDUmtDGhRMPao28lJvt5u9jEeip3g==
248+
oidc-spa@^6.5.2:
249+
version "6.5.2"
250+
resolved "https://registry.yarnpkg.com/oidc-spa/-/oidc-spa-6.5.2.tgz#c4bfeab0b440e821d79c4815f244c177dd72037f"
251+
integrity sha512-YZ/Gvo6o/M78C3fQsJK+Zq+AUXOR//+njgeb1bP4dWdfjBFo7qH0x19ccDBaooVLwaa2+mW1o7o3bWKKOIHNhA==
252252

253253
openapi3-ts@^4.1.2:
254254
version "4.3.1"

0 commit comments

Comments
 (0)