Changeset 2304973
- Timestamp:
- 05/14/2020 03:29:26 PM (6 years ago)
- Location:
- jwt-ssolo
- Files:
-
- 3 added
- 4 edited
-
assets/assets.zip (added)
-
assets/authlogosmall.jpg (added)
-
assets/authmainsmall.jpg (added)
-
trunk/Readme.txt (modified) (1 diff)
-
trunk/config.php (modified) (1 diff)
-
trunk/jwtlogin.php (modified) (10 diffs)
-
trunk/wpssoloauth-lib.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jwt-ssolo/trunk/Readme.txt
r2278353 r2304973 2 2 Contributors: @marcofrl1 3 3 Donate link: 4 Tags: login, gdpr, authentication, secure login, jwt, token, remote login, OAuth2, KYC, bank security, security4 Tags: login, dgpr, authentication, secure login, jwt, token 5 5 Requires at least: 4.6 6 6 Tested up to: 5.4 -
jwt-ssolo/trunk/config.php
r2268942 r2304973 1 1 <?php 2 $servercode="201912261826353982";3 $token="Wm15SzcvVkxPQmV5bkI2VXExcUpIU292YUVTZlFnTzhVekdsaVMwU2pGOGJob3pmcjJKVDhVMkVOQUVIYnVpdlpUbzNyR3Z1MjFPYm9BcXkzNjhpRWFwbHFIVzB1MWdvaVFkS3p6NHptRlhmb2UzU2l1eEFuU2wyY0NtUlg1T2k6Ouw9w4OocKoBmkw7FkRtFSc=";4 $user_id="227";5 2 ?> -
jwt-ssolo/trunk/jwtlogin.php
r2276253 r2304973 109 109 function jwtl_passurl_wpse_208054($lostpassword_url, $redirect ) { 110 110 include "config.php"; 111 return 'https://auth.ssolo.co.uk/ auth/forgotpwd.php?servercode='.$servercode;111 return 'https://auth.ssolo.co.uk/forgotpwd.php?servercode='.$servercode; 112 112 } 113 113 add_filter('lostpassword_url', 'jwtl_passurl_wpse_208054', 10, 2); … … 125 125 <th><label for="getuserinfo"><?php _e("Modify user"); ?></label></th> 126 126 <td> 127 <button type="button" class="button wp-generate-pw hide-if-no-js" onclick="location.href = 'https://auth.ssolo.co.uk/ auth/moduser.php?servercode=<?php echo $servercode ?>'">Modify User data</button>127 <button type="button" class="button wp-generate-pw hide-if-no-js" onclick="location.href = 'https://auth.ssolo.co.uk/moduser.php?servercode=<?php echo $servercode ?>'">Modify User data</button> 128 128 </td> 129 129 </tr> … … 131 131 <th><label for="delaccount"><?php _e("Delete Account"); ?></label></th> 132 132 <td> 133 <button type="button" class="button wp-generate-pw hide-if-no-js" onclick="location.href = 'https://auth.ssolo.co.uk/ auth/deleteaccount.php?servercode=<?php echo $servercode ?>'">Delete User account</button>133 <button type="button" class="button wp-generate-pw hide-if-no-js" onclick="location.href = 'https://auth.ssolo.co.uk/deleteaccount.php?servercode=<?php echo $servercode ?>'">Delete User account</button> 134 134 </td> 135 135 </tr> … … 339 339 340 340 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => $pars ); 341 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/login.php',$args);341 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/login.php',$args); 342 342 $response_code = wp_remote_retrieve_response_code( $datat ); 343 343 $response_body = wp_remote_retrieve_body( $datat ); … … 398 398 399 399 $args = array( 'headers' => array( $header ), 'body' => $pars ); 400 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/login.php',$args);400 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/login.php',$args); 401 401 $response_code = wp_remote_retrieve_response_code( $datat ); 402 402 $response_body = wp_remote_retrieve_body( $datat ); … … 494 494 curl_close($curlSES); 495 495 $args = array( 'headers' => array( $header ), 'body' => $pars ); 496 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/moduser.php',$args);496 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/moduser.php',$args); 497 497 $response_code = wp_remote_retrieve_response_code( $datat ); 498 498 $response_body = wp_remote_retrieve_body( $datat ); … … 523 523 524 524 $args = array( 'headers' => array( $header ), 'body' => $pars ); 525 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/deluser.php',$args);525 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/deluser.php',$args); 526 526 $response_code = wp_remote_retrieve_response_code( $datat ); 527 527 $response_body = wp_remote_retrieve_body( $datat ); … … 553 553 554 554 $args = array( 'headers' => array( $header ), 'body' => $pars ); 555 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/blockuser.php',$args);555 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/blockuser.php',$args); 556 556 $response_code = wp_remote_retrieve_response_code( $datat ); 557 557 $response_body = wp_remote_retrieve_body( $datat ); … … 584 584 585 585 $args = array( 'headers' => array( $header ), 'body' => $pars ); 586 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/unblockuser.php',$args);586 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/unblockuser.php',$args); 587 587 $response_code = wp_remote_retrieve_response_code( $datat ); 588 588 $response_body = wp_remote_retrieve_body( $datat ); … … 607 607 608 608 $args = array( 'headers' => array( $header ), 'body' => $pars ); 609 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/checktoken.php',$args);609 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/checktoken.php',$args); 610 610 $response_code = wp_remote_retrieve_response_code( $datat ); 611 611 $response_body = wp_remote_retrieve_body( $datat ); -
jwt-ssolo/trunk/wpssoloauth-lib.php
r2268942 r2304973 33 33 34 34 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => $pars ); 35 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/login.php',$args);35 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/login.php',$args); 36 36 $response_code = wp_remote_retrieve_response_code( $datat ); 37 37 $response_body = wp_remote_retrieve_body( $datat ); … … 92 92 93 93 $args = array( 'headers' => array( $header ), 'body' => $pars ); 94 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/login.php',$args);94 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/login.php',$args); 95 95 $response_code = wp_remote_retrieve_response_code( $datat ); 96 96 $response_body = wp_remote_retrieve_body( $datat ); … … 188 188 curl_close($curlSES); 189 189 $args = array( 'headers' => array( $header ), 'body' => $pars ); 190 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/moduser.php',$args);190 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/moduser.php',$args); 191 191 $response_code = wp_remote_retrieve_response_code( $datat ); 192 192 $response_body = wp_remote_retrieve_body( $datat ); … … 217 217 218 218 $args = array( 'headers' => array( $header ), 'body' => $pars ); 219 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/deluser.php',$args);219 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/deluser.php',$args); 220 220 $response_code = wp_remote_retrieve_response_code( $datat ); 221 221 $response_body = wp_remote_retrieve_body( $datat ); … … 247 247 248 248 $args = array( 'headers' => array( $header ), 'body' => $pars ); 249 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/blockuser.php',$args);249 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/blockuser.php',$args); 250 250 $response_code = wp_remote_retrieve_response_code( $datat ); 251 251 $response_body = wp_remote_retrieve_body( $datat ); … … 278 278 279 279 $args = array( 'headers' => array( $header ), 'body' => $pars ); 280 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/unblockuser.php',$args);280 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/unblockuser.php',$args); 281 281 $response_code = wp_remote_retrieve_response_code( $datat ); 282 282 $response_body = wp_remote_retrieve_body( $datat ); … … 301 301 302 302 $args = array( 'headers' => array( $header ), 'body' => $pars ); 303 $datat = wp_remote_post('https://auth.ssolo.co.uk/a uth/api/v1/checktoken.php',$args);303 $datat = wp_remote_post('https://auth.ssolo.co.uk/api/v1/checktoken.php',$args); 304 304 $response_code = wp_remote_retrieve_response_code( $datat ); 305 305 $response_body = wp_remote_retrieve_body( $datat );
Note: See TracChangeset
for help on using the changeset viewer.