Skip to content

Commit 4a61bb2

Browse files
WIP
1 parent df67825 commit 4a61bb2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/src/token_detail.js

+6
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ async function importJWK(jwk, hashAlgo) {
195195
);
196196
}
197197

198+
$(document).on("change", "#jwt_verification_type", function() {
199+
if (this.value == "jwks_url") {
200+
document.getElementById('jwt_verification_key').value = localStorage.getItem("jwks_endpoint");
201+
}
202+
});
203+
198204
window.onload = function() {
199205
log.debug("Entering onload function.");
200206
const type = getParameterByName('type');

0 commit comments

Comments
 (0)