Skip to content

Commit

Permalink
Use spaces in code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Sep 16, 2024
1 parent 5b158b7 commit 08052ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ To register an OIDC client:

```bash
curl http://localhost:5001/clients \
-H 'Content-Type: application/json' \
-d "{
\"client_id\": \"test-client\",
\"redirect_uri\": \"http://localhost:5000/auth\",
\"public_key\": \"-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----\",
\"scope\": \"openid email\"
}"
-H 'Content-Type: application/json' \
-d "{
\"client_id\": \"test-client\",
\"redirect_uri\": \"http://localhost:5000/auth\",
\"public_key\": \"-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----\",
\"scope\": \"openid email\"
}"
```

To unregister all OIDC clients:
Expand All @@ -96,8 +96,8 @@ To create a user:

```bash
curl http://localhost:5001/users \
-H 'Content-Type: application/json' \
-d "{\"id\": \"test-user\", \"email\": \"test-user@example.com\"}"
-H 'Content-Type: application/json' \
-d "{\"id\": \"test-user\", \"email\": \"test-user@example.com\"}"
```

To delete all users:
Expand Down

0 comments on commit 08052ed

Please sign in to comment.