diff --git a/src/Shark.Sample.AuthorizationServer/appsettings.Development.json b/src/Shark.Sample.AuthorizationServer/appsettings.Development.json index ee9d688..dcf677b 100644 --- a/src/Shark.Sample.AuthorizationServer/appsettings.Development.json +++ b/src/Shark.Sample.AuthorizationServer/appsettings.Development.json @@ -7,7 +7,7 @@ "ValidateAudience": false, // Needed for UserInfo endpoint that is protected with Bearer authentication scheme "SymmetricSecurityKey": "4DCE9W57OGCXT5CBQXAGE3TBHD0XUMUOXX3GD8V0KWPIS8L9LE7G5HBH2QIJTPTL5DCE1W63OGTU1GD8V0KW", "KeyId": "81CBA4AA63E1402ABB377C1B36CD97A8", - "SecurityAlgorithms": "RS256", // RS256 (asymmetric keys) or HS256 (symmetric keys) + "SecurityAlgorithms": "RS256", "UseRsaCertificate": true, "PublicKeyPath": "Keys/RS256.Public.pem", "PrivateKeyPath": "Keys/RS256.Private.pem", diff --git a/src/Shark.Sample.AuthorizationServer/appsettings.Production.json b/src/Shark.Sample.AuthorizationServer/appsettings.Production.json index f8ce093..a23f5ed 100644 --- a/src/Shark.Sample.AuthorizationServer/appsettings.Production.json +++ b/src/Shark.Sample.AuthorizationServer/appsettings.Production.json @@ -7,7 +7,7 @@ "ValidateAudience": false, // Needed for UserInfo endpoint that is protected with Bearer authentication scheme "SymmetricSecurityKey": "4DCE9W57OGCXT5CBQXAGE3TBHD0XUMUOXX3GD8V0KWPIS8L9LE7G5HBH2QIJTPTL5DCE1W63OGTU1GD8V0KW", "KeyId": "81CBA4AA63E1402ABB377C1B36CD97A8", - "SecurityAlgorithms": "RS256", // RS256 (asymmetric keys) or HS256 (symmetric keys) + "SecurityAlgorithms": "RS256", "UseRsaCertificate": true, "PublicKeyPath": "Keys/RS256.Public.pem", "PrivateKeyPath": "Keys/RS256.Private.pem",