Skip to content

Commit 0254f4a

Browse files
authored
Merge pull request #47 from linianhui/rename
Rename odic.example to example-oidc
2 parents 0d9135b + 4577ac8 commit 0254f4a

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525

2626
# How to run?
2727

28-
<mark><b>⚠️ disable chrome samesite for test: </b></mark> <a href="chrome://flags/#same-site-by-default-cookies">chrome://flags/#same-site-by-default-cookies</a>
28+
** use ie11 to run**
29+
30+
>
31+
> <https://github.com/linianhui/example-oidc/issues/34>
32+
> <mark><b>⚠️ disable chrome samesite for test: </b></mark> <a href="chrome://flags/#same-site-by-default-cookies">chrome://flags/#same-site-by-default-cookies</a>
2933
3034
## docker-compose.yml (docker platform)
3135
```bash
@@ -157,9 +161,9 @@ OIDC in Action: http://www.cnblogs.com/linianhui/category/1121078.html
157161

158162
# Old version(ids3 and owin)
159163

160-
1. ids3: https://github.com/linianhui/oidc.example/tree/ids3
161-
2. ids4 and owin: https://github.com/linianhui/oidc.example/tree/owin
164+
1. ids3: https://github.com/linianhui/example-oidc/tree/ids3
165+
2. ids4 and owin: https://github.com/linianhui/example-oidc/tree/owin
162166

163167

164-
[GitHub-Actions-Img]:https://github.com/linianhui/oidc.example/workflows/build/badge.svg
165-
[GitHub-Actions-Url]:https://github.com/linianhui/oidc.example/actions
168+
[GitHub-Actions-Img]:https://github.com/linianhui/example-oidc/workflows/build/badge.svg
169+
[GitHub-Actions-Url]:https://github.com/linianhui/example-oidc/actions

cake/build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var target = Argument("target", "default");
1313
/// constant
1414
var rootPath = "../";
1515
var srcPath = rootPath + "src/";
16-
var slnPath = rootPath + "oidc.example.sln";
16+
var slnPath = rootPath + "example-oidc.sln";
1717
var webSiteList = GetWebSiteList(srcPath);
1818

1919
Task("clean")

cake/website.cake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ public class WebSite
6464

6565
public static ApplicationPoolSettings ApplicationPoolNoCLR = new ApplicationPoolSettings
6666
{
67-
Name = "oidc.example.noclr",
67+
Name = "example-oidc.noclr",
6868
IdentityType = IdentityType.LocalSystem,
6969
MaxProcesses = 1,
7070
ManagedRuntimeVersion = null
7171
};
7272

7373
public static ApplicationPoolSettings ApplicationPoolCLR4 = new ApplicationPoolSettings
7474
{
75-
Name = "oidc.example.clr4",
75+
Name = "example-oidc.clr4",
7676
IdentityType = IdentityType.LocalSystem,
7777
MaxProcesses = 1,
7878
ManagedRuntimeVersion = "v4.0"
79-
};
79+
};
File renamed without changes.

src/web.oauth2.resources.aspnetcore/Apis/HomeController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ public object Index()
2020
{
2121
_claims = claims,
2222
author = "[email protected]",
23-
github = "https://github.com/linianhui/oidc.example",
23+
github = "https://github.com/linianhui/example-oidc",
2424
text = "this is a api.",
2525
values = this.Url.Link("books", null)
2626
};
2727
}
2828
}
29-
}
29+
}

src/web.oauth2.resources.java/src/main/java/api/controller/ApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public Object Get() {
1919
Map map = new LinkedHashMap();
2020
map.put("text", "this is a java api");
2121
map.put("author", "[email protected]");
22-
map.put("github", "https://github.com/linianhui/oidc.example");
22+
map.put("github", "https://github.com/linianhui/example-oidc");
2323
map.put("user", request.getUserPrincipal());
2424
return map;
2525
}

src/web.oauth2.resources.nodejs/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ app.get('/', function (req, res) {
1515
const json = {
1616
user: req.user,
1717
author: "[email protected]",
18-
github: "https://github.com/linianhui/oidc.example",
18+
github: "https://github.com/linianhui/example-oidc",
1919
text: "this is a node.js api.",
2020
};
2121

2222
res.json(json);
2323
});
2424

25-
app.listen(80);
25+
app.listen(80);

0 commit comments

Comments
 (0)