favicon_package
fonts
keycloak-resources
static
terms
1413.d9a44ac4.iframe.bundle.js
1461.32102b69.iframe.bundle.js
1503.02bf5d4d.iframe.bundle.js
1589.6b444e29.iframe.bundle.js
1600.5b6d4ecb.iframe.bundle.js
1665.5e563ced.iframe.bundle.js
2140.84984ee0.iframe.bundle.js
2279.8f643073.iframe.bundle.js
229.a3edc932cd36e0f6e55f.manager.bundle.js
2410.d580439b.iframe.bundle.js
2442.1598949b.iframe.bundle.js
2551.31c9ba53.iframe.bundle.js
2680.3d978f41.iframe.bundle.js
2684.5d77f5d4.iframe.bundle.js
2728.7718f5c0.iframe.bundle.js
2837.f13fb31e.iframe.bundle.js
2844.80d0d88b.iframe.bundle.js
2853.478b30ed.iframe.bundle.js
2867.fddf3229.iframe.bundle.js
2897.f55cc16b.iframe.bundle.js
2897.f55cc16b.iframe.bundle.js.LICENSE.txt
295.f4d5c04b864138f57a82.manager.bundle.js
2977.609fbccc.iframe.bundle.js
3148.ffbd9632.iframe.bundle.js
317.763f2741.iframe.bundle.js
3284.00f2bcd7.iframe.bundle.js
3325.24bb2747.iframe.bundle.js
3402.1f749885.iframe.bundle.js
3558.29cce1a5.iframe.bundle.js
3612.c626f993.iframe.bundle.js
3699.a8159afd.iframe.bundle.js
3744.07fe0e84.iframe.bundle.js
3845.417d7543.iframe.bundle.js
4038.6bf20da3.iframe.bundle.js
4062.c5571a35.iframe.bundle.js
4174.7e938d00.iframe.bundle.js
4734.aefab34b.iframe.bundle.js
4774.dfd230d2.iframe.bundle.js
4937.3c67efd9.iframe.bundle.js
4940.9d4ddaaf.iframe.bundle.js
4950.1454d8ac.iframe.bundle.js
4977.e218e836.iframe.bundle.js
500.49288060.iframe.bundle.js
5013.d77c4d1c.iframe.bundle.js
5025.9eb1d7b3.iframe.bundle.js
5046.73519e7e.iframe.bundle.js
5051.7ef3c2fe.iframe.bundle.js
5051.7ef3c2fe.iframe.bundle.js.LICENSE.txt
5082.0389fe3d.iframe.bundle.js
51.a8a99f9e78fc313d0262.manager.bundle.js
51.a8a99f9e78fc313d0262.manager.bundle.js.LICENSE.txt
5119.0a75c144.iframe.bundle.js
5229.565594db.iframe.bundle.js
5392.eebef1ba.iframe.bundle.js
543.de38f60c.iframe.bundle.js
5460.441871b9.iframe.bundle.js
551.67eb16aa5baf67eaae71.manager.bundle.js
5550.08b33b64.iframe.bundle.js
5684.7b163a7a.iframe.bundle.js
5749.5edc1976.iframe.bundle.js
5935.7426907f.iframe.bundle.js
5965.66d2a165.iframe.bundle.js
6056.5ce3920d.iframe.bundle.js
6057.27919d87.iframe.bundle.js
6131.c631c53f.iframe.bundle.js
6152.65a60011.iframe.bundle.js
6276.e2d51593.iframe.bundle.js
6356.784ebdba.iframe.bundle.js
6402.70ab9d14.iframe.bundle.js
651.0824996d.iframe.bundle.js
6701.2f6f5aa8.iframe.bundle.js
6713.7417ff86.iframe.bundle.js
6726.fc7c8f4f.iframe.bundle.js
6752.df10357c.iframe.bundle.js
7087.65cb4461.iframe.bundle.js
7122.cdb95070.iframe.bundle.js
7156.de4902ed.iframe.bundle.js
7233.7fb26355.iframe.bundle.js
7273.1fa07459.iframe.bundle.js
7339.aee874da.iframe.bundle.js
745.457d6663.iframe.bundle.js
7627.9aebb8c1.iframe.bundle.js
7797.997c39b4.iframe.bundle.js
7890.eb84f092.iframe.bundle.js
7901.deb1004b.iframe.bundle.js
7974.2c3607b3.iframe.bundle.js
8060.bed02f89.iframe.bundle.js
8064.ed969fe6.iframe.bundle.js
807.a2a908ed7f68724ba5f8.manager.bundle.js
807.a2a908ed7f68724ba5f8.manager.bundle.js.LICENSE.txt
8150.2c3dd0d7.iframe.bundle.js
8151.b232994d.iframe.bundle.js
8163.9e556999.iframe.bundle.js
826.69755296b67440263ca4.manager.bundle.js
826.69755296b67440263ca4.manager.bundle.js.LICENSE.txt
8287.1bfdda99.iframe.bundle.js
8287.1bfdda99.iframe.bundle.js.LICENSE.txt
8289.cb1b242c.iframe.bundle.js
8318.ae3921d5.iframe.bundle.js
8394.bd3955c4.iframe.bundle.js
8402.9da9f2e1.iframe.bundle.js
8429.c6c683e2.iframe.bundle.js
8509.5cfb75f0.iframe.bundle.js
897.dcd0c98d13513b1494b4.manager.bundle.js
897.dcd0c98d13513b1494b4.manager.bundle.js.LICENSE.txt
9062.b651077c.iframe.bundle.js
9115.52d043b4.iframe.bundle.js
9115.52d043b4.iframe.bundle.js.LICENSE.txt
9282.07138bcb.iframe.bundle.js
9284.a5d70c1c.iframe.bundle.js
935.cbaac73deea7306bafa1.manager.bundle.js
9353.9e4abf74.iframe.bundle.js
9422.73949c35.iframe.bundle.js
9507.6a02b845.iframe.bundle.js
9719.a65c9cd5.iframe.bundle.js
9721.a5b3db49.iframe.bundle.js
9790.f1cd3dfe.iframe.bundle.js
9807.c3379ce5.iframe.bundle.js
9807.c3379ce5.iframe.bundle.js.LICENSE.txt
9980.d3178bb4.iframe.bundle.js
CNAME
favicon.ico
iframe.html
index.html
logo.png
main.2f21d48492887a731906.manager.bundle.js
main.eddbeb33.iframe.bundle.js
main.eddbeb33.iframe.bundle.js.LICENSE.txt
preview.png
project.json
runtime~main.545db4c6.iframe.bundle.js
runtime~main.5acabe14b3900323beb2.manager.bundle.js
1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
![]() |
"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[2279],{"./dist/login/pages/WebauthnRegister.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>WebauthnRegister});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_tools_assert__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./dist/tools/assert.js"),_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./dist/login/lib/kcClsx.js"),_tools_useInsertScriptTags__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./dist/tools/useInsertScriptTags.js");function WebauthnRegister(props){var kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,kcClsx=(0,_login_lib_kcClsx__WEBPACK_IMPORTED_MODULE_4__.$)({doUseDefaultCss,classes}).kcClsx,url=kcContext.url,challenge=kcContext.challenge,userid=kcContext.userid,username=kcContext.username,signatureAlgorithms=kcContext.signatureAlgorithms,rpEntityName=kcContext.rpEntityName,rpId=kcContext.rpId,attestationConveyancePreference=kcContext.attestationConveyancePreference,authenticatorAttachment=kcContext.authenticatorAttachment,requireResidentKey=kcContext.requireResidentKey,userVerificationRequirement=kcContext.userVerificationRequirement,createTimeout=kcContext.createTimeout,excludeCredentialIds=kcContext.excludeCredentialIds,isSetRetry=kcContext.isSetRetry,isAppInitiatedAction=kcContext.isAppInitiatedAction,msg=i18n.msg,msgStr=i18n.msgStr,insertScriptTags=(0,_tools_useInsertScriptTags__WEBPACK_IMPORTED_MODULE_5__.m)({componentOrHookName:"WebauthnRegister",scriptTags:[{type:"text/javascript",src:url.resourcesCommonPath+"/node_modules/jquery/dist/jquery.min.js"},{type:"text/javascript",src:url.resourcesPath+"/js/base64url.js"},{type:"text/javascript",textContent:'\n function registerSecurityKey() {\n\n // Check if WebAuthn is supported by this browser\n if (!window.PublicKeyCredential) {\n $("#error").val("'+msgStr("webauthn-unsupported-browser-text")+'");\n $("#register").submit();\n return;\n }\n \n // mandatory parameters\n let challenge = "'+challenge+'";\n let userid = "'+userid+'";\n let username = "'+username+'";\n \n let signatureAlgorithms ='+JSON.stringify(signatureAlgorithms)+';\n let pubKeyCredParams = getPubKeyCredParams(signatureAlgorithms);\n \n let rpEntityName = "'+rpEntityName+'";\n let rp = {name: rpEntityName};\n \n let publicKey = {\n challenge: base64url.decode(challenge, {loose: true}),\n rp: rp,\n user: {\n id: base64url.decode(userid, {loose: true}),\n name: username,\n displayName: username\n },\n pubKeyCredParams: pubKeyCredParams,\n };\n \n // optional parameters\n let rpId = "'+rpId+'";\n publicKey.rp.id = rpId;\n \n let attestationConveyancePreference = "'+attestationConveyancePreference+"\";\n if (attestationConveyancePreference !== 'not specified') publicKey.attestation = attestationConveyancePreference;\n \n let authenticatorSelection = {};\n let isAuthenticatorSelectionSpecified = false;\n \n let authenticatorAttachment = \""+authenticatorAttachment+"\";\n
|