Add support for keys retrieval with keys_jwk
Natim opened this issue · comments
Rémy HUBSCHER commented
const fxaKeyUtils = new FxaCryptoRelier.KeyUtils();
function handleAuthentication() {
return fxaKeyUtils.createApplicationKeyPair()
.then((keyTypes) => {
return {url: `${AUTH_URL}&keys_jwk=${keyTypes.base64JwkPublicKey}`};
});
})