diff --git a/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts b/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts index 36f94f512..0c1406ac4 100644 --- a/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts +++ b/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts @@ -175,6 +175,38 @@ ${this.instance?.redirectUris} + + + + --------- + + ${until( + new CryptoApi(DEFAULT_CONFIG) + .cryptoCertificatekeypairsList({ + ordering: "pk", + hasKey: true, + }) + .then((keys) => { + return keys.results.map((key) => { + let selected = this.instance?.rsaKey === key.pk; + if (keys.results.length === 1) { + selected = true; + } + return html` + ${key.name} + `; + }); + }), + html`${t`Loading...`}`, + )} + + + ${t`Key used to sign the tokens. Only required when JWT Algorithm is set to RS256.`} + + @@ -283,38 +315,6 @@ ${this.instance?.redirectUris} - - - - --------- - - ${until( - new CryptoApi(DEFAULT_CONFIG) - .cryptoCertificatekeypairsList({ - ordering: "pk", - hasKey: true, - }) - .then((keys) => { - return keys.results.map((key) => { - let selected = this.instance?.rsaKey === key.pk; - if (keys.results.length === 1) { - selected = true; - } - return html` - ${key.name} - `; - }); - }), - html`${t`Loading...`}`, - )} - - - ${t`Key used to sign the tokens. Only required when JWT Algorithm is set to RS256.`} - -
+ ${t`Key used to sign the tokens. Only required when JWT Algorithm is set to RS256.`} +
- ${t`Key used to sign the tokens. Only required when JWT Algorithm is set to RS256.`} -