php - How to create a Logout function in Processmaker 3.0 using the Rest API? -
i developing 1 rest api in process-maker 3.0. in user can login using password oauth2.0 authorization. we access token , oauthcredential.json automatically updated. when user logged in credentials (client_id, client_secret, username , password) cookie sets. , directs rest endpoints suggesting in link: http://wiki.processmaker.com/3.0/calling_rest_endpoints when cookies not set or cleared should redirect login page or when user click on logout button redirect login page. code login page '<html><head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <form action="check_login.php" method="post"> client id<br> <input type="text" name="client_id" value="" width=32 /><br> client secret<br...