Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependencies #1

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ This tool is full configured using environment variables.
## Run it with Docker

Pull the image:

```
docker pull rdubigny/moncomptepro-test-client
```

Run the container:

```
docker run -d --rm \
-p 3000:3000 \
Expand All @@ -28,8 +30,9 @@ rdubigny/moncomptepro-test-client
## Run it with Docker Compose

In `docker-compose.yml`:

```yaml
version: '3.5'
version: "3.5"

services:
oidc-test-client:
Expand All @@ -41,18 +44,21 @@ services:
```

Run the container:

```
docker-compose up
```

## Run it with Node.js v16 or higher

Install the dependencies:

```
npm i
```

Run the server:

```
npm start
```
Expand All @@ -62,11 +68,12 @@ npm start
Available env variables and there default values are listed [here](.env).

You can use the app-test.moncomptepro.beta.gouv.fr oidc provider with the following client configuration:

```yaml
client_id: client_id
client_secret: client_secret
login_callbacks: ['http://localhost:3000/login-callback']
logout_callbacks: ['http://localhost:3000/']
login_callbacks: ["http://localhost:3000/login-callback"]
logout_callbacks: ["http://localhost:3000/"]
authorized_scopes: openid email profile organization
```

Expand Down
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "This is a minimal, nodeJS-based MonComptePro client, to be used for end-to-end testing.",
"main": "index.js",
"type": "module",
"scripts": {
"start": "node .",
"test": "echo \"Error: no test specified\" && exit 1"
Expand All @@ -23,11 +24,10 @@
"ejs": "^3.1.9",
"express": "^4.18.2",
"morgan": "^1.10.0",
"openid-client": "^5.4.3"
"openid-client": "^5.6.1"
},
"type": "module",
"devDependencies": {
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"engines": {
"node": "20",
Expand Down