Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05afae7

Browse files
committed
Avoid downloading OIDC config
1 parent3b52f6b commit05afae7

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

‎tests/Microsoft.Owin.Security.Tests/OpenIdConnect/OpenIdConnectMiddlewareTests.cs‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ public async Task ChallengeIncludesPkceIfRequested(bool include)
2727
{
2828
varoptions=newOpenIdConnectAuthenticationOptions()
2929
{
30-
Authority="https://demo.identityserver.io",
30+
Authority="https://authserver/",
3131
ClientId="Test Client Id",
3232
ClientSecret="Test Client Secret",
3333
UsePkce=include,
34-
ResponseType=OpenIdConnectResponseType.Code
34+
ResponseType=OpenIdConnectResponseType.Code,
35+
Configuration=newOpenIdConnectConfiguration()
36+
{
37+
AuthorizationEndpoint="https://authserver/auth"
38+
}
3539
};
3640
varserver=CreateServer(
3741
app=>app.UseOpenIdConnectAuthentication(options),
@@ -67,11 +71,15 @@ public async Task ChallengeDoesNotIncludePkceForOtherResponseTypes(string respon
6771
{
6872
varoptions=newOpenIdConnectAuthenticationOptions()
6973
{
70-
Authority="https://demo.identityserver.io",
74+
Authority="https://authserver/",
7175
ClientId="Test Client Id",
7276
ClientSecret="Test Client Secret",
7377
UsePkce=true,
74-
ResponseType=responseType
78+
ResponseType=responseType,
79+
Configuration=newOpenIdConnectConfiguration()
80+
{
81+
AuthorizationEndpoint="https://authserver/auth"
82+
}
7583
};
7684
varserver=CreateServer(
7785
app=>app.UseOpenIdConnectAuthentication(options),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp