Skip to content

Commit 857c34d

Browse files
committed
docs: update README.md
1 parent 372510b commit 857c34d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ const provider = new oidc.Provider("http://localhost:3000", {
100100
{
101101
client_id: "foo",
102102
client_secret: "bar",
103-
redirect_uris: ["http://lvh.me:8080/cb"],
103+
redirect_uris: ["http://localhost:8080/cb"],
104104
// ... other client properties
105105
},
106106
],
107107
});
108108

109-
const server = oidc.listen(3000, () => {
109+
const server = provider.listen(3000, () => {
110110
console.log(
111111
"oidc-provider listening on port 3000, check http://localhost:3000/.well-known/openid-configuration",
112112
);

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ const provider = new oidc.Provider("http://localhost:3000", {
5353
{
5454
client_id: "foo",
5555
client_secret: "bar",
56-
redirect_uris: ["http://lvh.me:8080/cb"],
56+
redirect_uris: ["http://localhost:8080/cb"],
5757
// ... other client properties
5858
},
5959
],
6060
});
6161

62-
const server = oidc.listen(3000, () => {
62+
const server = provider.listen(3000, () => {
6363
console.log(
6464
"oidc-provider listening on port 3000, check http://localhost:3000/.well-known/openid-configuration",
6565
);

0 commit comments

Comments
 (0)