Plugin Directory

Changeset 2184923


Ignore:
Timestamp:
11/02/2019 01:12:09 PM (6 years ago)
Author:
shfarr
Message:

moving to version 2.0.1 corrections

Location:
identity-plus/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • identity-plus/trunk/lib/identity_plus/Identity_Plus_API.php

    r2184906 r2184923  
    6666    const HOME = "identity.plus";
    6767    // const HOME = "local.stefanfarr.identityplus.app";
    68     const api_endpoint = "https://api." . self::HOME . "/v1";
    69     const validation_endpoint = "https://signon." . self::HOME;
    7068   
    7169    public $cert_details;
     
    113111
    114112        $intent = $this->create_intent(Intent_Type::discover, NULL, NULL, NULL, NULL, $return_url);
    115         return self::validation_endpoint.'/' . $intent->value;
     113        return "https://signon." . self::HOME . '/' . $intent->value;
    116114    }
    117115   
     
    134132
    135133        $intent = $this->create_intent(Intent_Type::discover, NULL, NULL, NULL, NULL, $return_url);
    136         return self::validation_endpoint.'/' . $intent->value;
     134        return "https://signon." . self::HOME . '/' . $intent->value;
    137135    }
    138136
     
    161159        );
    162160       
    163         $call = curl_init(self::validation_endpoint . "/api/v1");
     161        $call = curl_init("https://signon." . self::HOME . "/api/v1");
    164162       
    165163        // curl_setopt($call, CURLOPT_VERBOSE, true);
    166         curl_setopt($call, CURLOPT_URL, self::validation_endpoint . "/api/v1");
     164        curl_setopt($call, CURLOPT_URL, "https://signon." . self::HOME . "/api/v1");
    167165        curl_setopt($call, CURLOPT_CUSTOMREQUEST, "POST");
    168166        curl_setopt($call, CURLOPT_POSTFIELDS, json_encode($request));
     
    315313
    316314       
    317         $call = curl_init(self::api_endpoint);
     315        $call = curl_init("https://api." . self::HOME . "/v1");
    318316       
    319317        if($debug) curl_setopt($call, CURLOPT_VERBOSE, true);
    320         curl_setopt($call, CURLOPT_URL, self::api_endpoint);
     318        curl_setopt($call, CURLOPT_URL, "https://api." . self::HOME . "/v1");
    321319        curl_setopt($call, CURLOPT_SSLKEY, stream_get_meta_data($temp_pkey)['uri']);
    322320        curl_setopt($call, CURLOPT_SSLKEYPASSWD, $temp_pass);
  • identity-plus/trunk/lib/initialize.php

    r2184906 r2184923  
    360360                // add the footer cross-validation widget
    361361                if(false && isset($identity_plus_api) && $identity_plus_api != NULL){?>
    362                         <iframe src="<?php echo Identity_Plus_API::validation_endpoint; ?>/widgets/cross-validation?origin=<?php echo $identity_plus_api->cert_details['serialNumber'] ?>&challenge=<?php echo  $identity_plus_api->compute_challenge()?>" scrolling="no" class="identity-plus-cf"></iframe>
     362                        <iframe src="<?php echo "https://signon." . Identity_Plus_API::HOME; ?>/widgets/cross-validation?origin=<?php echo $identity_plus_api->cert_details['serialNumber'] ?>&challenge=<?php echo  $identity_plus_api->compute_challenge()?>" scrolling="no" class="identity-plus-cf"></iframe>
    363363                        <?php
    364364                }
  • identity-plus/trunk/lib/settings_panel.php

    r2184906 r2184923  
    358358        unset($_SESSION['identity-plus-user-profile']);
    359359        unset($_SESSION['identity-plus-anonymous-id']);
    360         wp_redirect(Identity_Plus_API::validation_endpoint.'/' . $intent->value);
     360        wp_redirect("https://signon." . Identity_Plus_API::HOME . '/' . $intent->value);
    361361
    362362        exit();
  • identity-plus/trunk/readme.txt

    r2184906 r2184923  
    44Requires at least: 3.9
    55Tested up to: 5.2.4
    6 Stable tag: 2.0
     6Stable tag: 2.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.