diff --git a/IdentityServer/v7/Basics/JwtBasedClientAuthentication/src/Program.cs b/IdentityServer/v7/Basics/JwtBasedClientAuthentication/src/Program.cs index 7a23f622..28701f5c 100755 --- a/IdentityServer/v7/Basics/JwtBasedClientAuthentication/src/Program.cs +++ b/IdentityServer/v7/Basics/JwtBasedClientAuthentication/src/Program.cs @@ -49,7 +49,8 @@ static async Task RequestTokenAsync(SigningCredentials signingCre } // Audience is the authorization server's issuer identifier (not the token - // endpoint), as recommended by RFC 7523bis for client authentication JWTs. + // endpoint), as required by RFC 10070 for client authentication JWTs + // (the issuer must be the sole audience); the typ header client-authentication+jwt is recommended. var clientToken = CreateClientToken(signingCredentials, "jwt.client.credentials.sample", disco.Issuer); var response = await client.RequestClientCredentialsTokenAsync(new ClientCredentialsTokenRequest { diff --git a/IdentityServer/v7/Basics/MvcJarJwt/src/AssertionService.cs b/IdentityServer/v7/Basics/MvcJarJwt/src/AssertionService.cs index 13a41bbc..2aa5fc4c 100755 --- a/IdentityServer/v7/Basics/MvcJarJwt/src/AssertionService.cs +++ b/IdentityServer/v7/Basics/MvcJarJwt/src/AssertionService.cs @@ -25,7 +25,8 @@ public string CreateClientToken() var token = new JwtSecurityToken( clientId, // Audience: the authorization server's issuer identifier (not the token - // endpoint), as recommended by RFC 7523bis for client authentication JWTs. + // endpoint), as required by RFC 10070 for client authentication JWTs + // (the issuer must be the sole audience); the typ header client-authentication+jwt is recommended. Urls.IdentityServer, new List() { diff --git a/IdentityServer/v8/Basics/JwtBasedClientAuthentication/src/Program.cs b/IdentityServer/v8/Basics/JwtBasedClientAuthentication/src/Program.cs index b5c46d2b..0a0deb10 100755 --- a/IdentityServer/v8/Basics/JwtBasedClientAuthentication/src/Program.cs +++ b/IdentityServer/v8/Basics/JwtBasedClientAuthentication/src/Program.cs @@ -54,7 +54,8 @@ static async Task RequestTokenAsync(SigningCredentials signingCre } // Audience is the authorization server's issuer identifier (not the token - // endpoint), as recommended by RFC 7523bis for client authentication JWTs. + // endpoint), as required by RFC 10070 for client authentication JWTs + // (the issuer must be the sole audience); the typ header client-authentication+jwt is recommended. var clientToken = CreateClientToken(signingCredentials, "jwt.client.credentials.sample", disco.Issuer); var response = await client.RequestClientCredentialsTokenAsync(new ClientCredentialsTokenRequest { diff --git a/IdentityServer/v8/Basics/MvcJarJwt/src/AssertionService.cs b/IdentityServer/v8/Basics/MvcJarJwt/src/AssertionService.cs index f486d483..15ec8f88 100755 --- a/IdentityServer/v8/Basics/MvcJarJwt/src/AssertionService.cs +++ b/IdentityServer/v8/Basics/MvcJarJwt/src/AssertionService.cs @@ -25,7 +25,8 @@ public string CreateClientToken() var token = new JwtSecurityToken( clientId, // Audience: the authorization server's issuer identifier (not the token - // endpoint), as recommended by RFC 7523bis for client authentication JWTs. + // endpoint), as required by RFC 10070 for client authentication JWTs + // (the issuer must be the sole audience); the typ header client-authentication+jwt is recommended. Urls.IdentityServer, new List() { diff --git a/various/clients/Owin/IdentityServerHost/IdentityServerHost.csproj b/various/clients/Owin/IdentityServerHost/IdentityServerHost.csproj index e788a10c..039eae71 100644 --- a/various/clients/Owin/IdentityServerHost/IdentityServerHost.csproj +++ b/various/clients/Owin/IdentityServerHost/IdentityServerHost.csproj @@ -5,7 +5,7 @@ - +