From 4b041ca0cfb4d680db2ec01def82d095e486b10f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 18 Jan 2017 04:37:54 -0500 Subject: [PATCH] jwk is already the standard for public key ;) --- oauth3.core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oauth3.core.js b/oauth3.core.js index 2af6f37..bee3d67 100644 --- a/oauth3.core.js +++ b/oauth3.core.js @@ -244,8 +244,9 @@ , "otp": opts.otp || opts.otpCode || undefined , "otp_uuid": opts.otpUuid || undefined , "user_agent": opts.userAgent || undefined // AJ's Macbook - , "public_key": opts.rememberDevice && opts.publicKey || undefined - , "public_key_type": opts.rememberDevice && opts.publicKeyType || undefined // RSA/ECDSA + , "jwk": opts.rememberDevice && opts.jwk || undefined + //, "public_key": opts.rememberDevice && opts.publicKey || undefined + //, "public_key_type": opts.rememberDevice && opts.publicKeyType || undefined // RSA/ECDSA //, "jwt": opts.jwt // TODO sign a proof with a previously loaded public_key }; var uri = args.url;