Project

General

Profile

« Previous | Next » 

Revision 60486

latest and gratest from trunk

View differences:

registerService.jsp
88 88
                        </div>
89 89
                        <div class="uk-margin-medium-top">
90 90
                            <label class="uk-form-label uk-text-bold">Security level</label>
91
                            <div class="uk-margin">Security level hint</div>
91
                            <div id="security-hint" class="uk-margin"></div>
92 92
                            <div class="uk-margin-small-top">
93 93
                                <span class="uk-margin-small-right">
94 94
                                    <input id="basic" class="uk-radio uk-margin-small-right" type="radio"
......
220 220
    function checkRadio() {
221 221
        var securityLevel = $('input[type=radio][name=security_level]:checked').val();
222 222
        if(securityLevel === 'basic') {
223
            $("#security-hint").html('Register your service to get a client id and a client secret. Use the client id and secret to make your requests. <a href="https://develop.openaire.eu/basic.html" target="_blank">Read more...</a>');
223 224
            $("#public-key").hide();
224 225
        } else {
226
            $("#security-hint").html('Register your service to get a client id. Declare your public key and instead of using the client secret to make a request, send a client assertion (JWT) signed with your private key. <a href="https://develop.openaire.eu/advanced.html" target="_blank">Read more...</a>');
225 227
            var keyType = $('input[type=radio][name=key_type]:checked').val();
226 228
            $("#public-key").show();
227 229
            if (keyType === 'uri') {
......
309 311
        }
310 312
        return false;
311 313
    }
312
</script>
314
</script>

Also available in: Unified diff