mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
Change cert default algorithm to RS256.
This commit is contained in:
@ -136,7 +136,7 @@ class CertEditPage extends React.Component {
|
||||
})}>
|
||||
{
|
||||
[
|
||||
{id: 'RSA', name: 'RSA'},
|
||||
{id: 'RS256', name: 'RS256'},
|
||||
].map((item, index) => <Option key={index} value={item.id}>{item.name}</Option>)
|
||||
}
|
||||
</Select>
|
||||
|
@ -32,7 +32,7 @@ class CertListPage extends BaseListPage {
|
||||
displayName: `New Cert - ${randomName}`,
|
||||
scope: "JWT",
|
||||
type: "x509",
|
||||
cryptoAlgorithm: "RSA",
|
||||
cryptoAlgorithm: "RS256",
|
||||
bitSize: 4096,
|
||||
expireInYears: 20,
|
||||
publicKey: "",
|
||||
@ -131,7 +131,7 @@ class CertListPage extends BaseListPage {
|
||||
key: 'cryptoAlgorithm',
|
||||
filterMultiple: false,
|
||||
filters: [
|
||||
{text: 'RSA', value: 'RSA'},
|
||||
{text: 'RS256', value: 'RS256'},
|
||||
],
|
||||
width: '190px',
|
||||
sorter: true,
|
||||
|
Reference in New Issue
Block a user