@@ -184,6 +184,33 @@ public class Config
184
184
RefreshTokenUsage = TokenUsage . ReUse ,
185
185
RefreshTokenExpiration = TokenExpiration . Sliding
186
186
} ,
187
+
188
+ new Client
189
+ {
190
+ ClientId = "interactive.confidential.jwt" ,
191
+ ClientName = "Interactive client (Code with PKCE) using private key JWT authentication" ,
192
+
193
+ RedirectUris = { "https://notused" } ,
194
+ PostLogoutRedirectUris = { "https://notused" } ,
195
+
196
+ ClientSecrets =
197
+ {
198
+ new Secret
199
+ {
200
+ Type = IdentityServerConstants . SecretTypes . JsonWebKey ,
201
+ Value = "{'e':'AQAB','kid':'ZzAjSnraU3bkWGnnAqLapYGpTyNfLbjbzgAPbbW2GEA','kty':'RSA','n':'wWwQFtSzeRjjerpEM5Rmqz_DsNaZ9S1Bw6UbZkDLowuuTCjBWUax0vBMMxdy6XjEEK4Oq9lKMvx9JzjmeJf1knoqSNrox3Ka0rnxXpNAz6sATvme8p9mTXyp0cX4lF4U2J54xa2_S9NF5QWvpXvBeC4GAJx7QaSw4zrUkrc6XyaAiFnLhQEwKJCwUw4NOqIuYvYp_IXhw-5Ti_icDlZS-282PcccnBeOcX7vc21pozibIdmZJKqXNsL1Ibx5Nkx1F1jLnekJAmdaACDjYRLL_6n3W4wUp19UvzB1lGtXcJKLLkqB6YDiZNu16OSiSprfmrRXvYmvD8m6Fnl5aetgKw'}"
202
+ }
203
+ } ,
204
+
205
+ AllowedGrantTypes = GrantTypes . CodeAndClientCredentials ,
206
+ RequireRequestObject = true ,
207
+ AllowedScopes = AllScopes ,
208
+
209
+ AllowOfflineAccess = true ,
210
+ RefreshTokenUsage = TokenUsage . ReUse ,
211
+ RefreshTokenExpiration = TokenExpiration . Sliding
212
+ } ,
213
+
187
214
new Client
188
215
{
189
216
ClientId = "interactive.confidential.jar.jwt" ,
@@ -231,6 +258,35 @@ public class Config
231
258
232
259
AccessTokenLifetime = 75
233
260
} ,
261
+
262
+ new Client
263
+ {
264
+ ClientId = "interactive.confidential.short.jwt" ,
265
+ ClientName = "Interactive client (Code with PKCE) using private key JWT authentication with short access token lifetime" ,
266
+
267
+ RedirectUris = { "https://notused" } ,
268
+ PostLogoutRedirectUris = { "https://notused" } ,
269
+
270
+ ClientSecrets =
271
+ {
272
+ new Secret
273
+ {
274
+ Type = IdentityServerConstants . SecretTypes . JsonWebKey ,
275
+ Value = "{'e':'AQAB','kid':'ZzAjSnraU3bkWGnnAqLapYGpTyNfLbjbzgAPbbW2GEA','kty':'RSA','n':'wWwQFtSzeRjjerpEM5Rmqz_DsNaZ9S1Bw6UbZkDLowuuTCjBWUax0vBMMxdy6XjEEK4Oq9lKMvx9JzjmeJf1knoqSNrox3Ka0rnxXpNAz6sATvme8p9mTXyp0cX4lF4U2J54xa2_S9NF5QWvpXvBeC4GAJx7QaSw4zrUkrc6XyaAiFnLhQEwKJCwUw4NOqIuYvYp_IXhw-5Ti_icDlZS-282PcccnBeOcX7vc21pozibIdmZJKqXNsL1Ibx5Nkx1F1jLnekJAmdaACDjYRLL_6n3W4wUp19UvzB1lGtXcJKLLkqB6YDiZNu16OSiSprfmrRXvYmvD8m6Fnl5aetgKw'}"
276
+ }
277
+ } ,
278
+
279
+ AllowedGrantTypes = GrantTypes . CodeAndClientCredentials ,
280
+ RequireRequestObject = true ,
281
+ AllowedScopes = AllScopes ,
282
+
283
+ AllowOfflineAccess = true ,
284
+ RefreshTokenUsage = TokenUsage . ReUse ,
285
+ RefreshTokenExpiration = TokenExpiration . Sliding ,
286
+
287
+ AccessTokenLifetime = 75
288
+ } ,
289
+
234
290
new Client
235
291
{
236
292
ClientId = "interactive.confidential.short.jar.jwt" ,
0 commit comments