200 : function ( data, textStatus, jqXHR){ // Signaler la connexion $('#oidc').css('background-color', '#8f8'); $('#oidc').text(' OIDC '); var timeleft = data['timeleft']; if ( timeleft < 600 ) { //[dnc28d] // La fin de session approche var retVal = confirm( "" ); if( retVal == true ) { // étendre la session $.ajax({ type : "get", url : "", data : { 'response_type' : 'code', 'client_id' : "", 'user_id' : login, 'state' : state, 'scope' : 'openid sli', } }); } } },