diff --git a/src/main/resources/props/sample.props.template b/src/main/resources/props/sample.props.template index da9131c4..b3c8ab8a 100644 --- a/src/main/resources/props/sample.props.template +++ b/src/main/resources/props/sample.props.template @@ -174,4 +174,8 @@ dev.port=8082 ## if integrate_with_hydra set to true, all other props must not be empty # integrate_with_identity_provider=false # identity_provider_token_endpoint=http://127.0.0.1:4444/oauth2/token +# Please note that next 2 props is obtained at OBP-API portal via Get API Key feature +# oauth2.jws_alg=ES256 +# oauth2.jwk_private_key= +# Example of the above value: {"kty":"EC","d":"mQ6yDqYB84z027rZoKnr9JIloX7QqyM0QDScHmWIb-s","use":"sig","crv":"P-256","kid":"c14e9b43-d69b-431e-a90b-eac0dd2e59f8","x":"mNBOFk1w7EYZ194LPCKlNn-NbflCkdxPHGh3VmCj13U","y":"4oXertw5ECdy_ApfG_LG5n92Q9-QlPr9Bt3eM_Z9DeI","alg":"ES256"} # ------------------------------ Identity Provider OAuth2 Props end -------------------------- \ No newline at end of file diff --git a/src/main/webapp/media/js/website.js b/src/main/webapp/media/js/website.js index 88cf725c..72ddded1 100644 --- a/src/main/webapp/media/js/website.js +++ b/src/main/webapp/media/js/website.js @@ -294,9 +294,7 @@ function copyJsonResultToClipboard(element) { // It delays the call by ms milliseconds function defer(f, ms) { return function() { - setTimeout(function() { - f.apply(this, arguments); - }, ms); + setTimeout(() => f.apply(this, arguments), ms); }; }