Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit e97de27

Browse files
update nugets
1 parent 830812a commit e97de27

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/IdentityModel.OidcClient/AuthorizeClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ internal string CreateAuthorizeUrl(string state, string nonce, string codeChalle
113113
_logger.LogTrace("CreateAuthorizeUrl");
114114

115115
var parameters = CreateAuthorizeParameters(state, nonce, codeChallenge, extraParameters);
116-
var request = new AuthorizeRequest(_options.ProviderInformation.AuthorizeEndpoint);
116+
var request = new RequestUrl(_options.ProviderInformation.AuthorizeEndpoint);
117117

118118
return request.Create(parameters);
119119
}
@@ -131,8 +131,7 @@ internal string CreateEndSessionUrl(string endpoint, LogoutRequest request)
131131
parameters.Add(OidcConstants.EndSessionRequest.PostLogoutRedirectUri, _options.PostLogoutRedirectUri);
132132
}
133133

134-
// workaround bug in IdentityModel
135-
return new AuthorizeRequest(endpoint).Create(parameters).TrimEnd('?');
134+
return new RequestUrl(endpoint).Create(parameters);
136135
}
137136

138137
internal Dictionary<string, string> CreateAuthorizeParameters(string state, string nonce, string codeChallenge, object extraParameters)

src/IdentityModel.OidcClient/IdentityModel.OidcClient.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<VersionPrefix>2.4.0</VersionPrefix>
5-
<VersionSuffix>preview1</VersionSuffix>
5+
<VersionSuffix>preview2</VersionSuffix>
66
<Authors>Dominick Baier;Brock Allen</Authors>
77
<TargetFrameworks>net452;netstandard1.4;netstandard2.0</TargetFrameworks>
88
<AssemblyName>IdentityModel.OidcClient</AssemblyName>
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="IdentityModel" Version="2.16.0" />
21+
<PackageReference Include="IdentityModel" Version="3.0.0-aberlour" />
2222
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.1.5" />
2323
</ItemGroup>
2424

0 commit comments

Comments
 (0)