Plugin Directory

Changeset 2715046


Ignore:
Timestamp:
04/26/2022 06:39:38 PM (4 years ago)
Author:
authress
Message:

Update to version 0.2.73 from GitHub

Location:
authress
Files:
19 edited
1 copied

Legend:

Unmodified
Added
Removed
  • authress/assets/readme.txt

    r2715042 r2715046  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.72
     7Stable tag: 0.2.73
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
  • authress/tags/0.2.73/Authress_Sso_Login.php

    r2715042 r2715046  
    44    Plugin URI:   https://wordpress.org/plugins/authress
    55    Description:  Upgrades the WordPress login to support SSO Login.
    6     Version:      0.2.72
     6    Version:      0.2.73
    77    Author:       Authress
    88    Author URI:   https://authress.io
     
    1111*/
    1212
    13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.72' );
     13define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.73' );
    1414
    1515define( 'AUTHRESS_SSO_LOGIN_PLUGIN_FILE', __FILE__ );
  • authress/tags/0.2.73/lib/Authress_Sso_Login_LoginManager.php

    r2715042 r2715046  
    100100        // Catch any incoming errors and stop the login process.
    101101        if ( ! empty( $_REQUEST['error'] ) || ! empty( $_REQUEST['error_description'] ) ) {
     102            setcookie('authress-authorization-step', 'log');
    102103            // Input variable is sanitized.
    103104            // phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
     
    145146     */
    146147    public function handle_login_redirect() {
     148        setcookie('authress-authorization-step', 'parse');
    147149        authress_debug_log('=> handle_login_redirect');
    148150        $access_token = sanitize_text_field(isset($_COOKIE['authorization']) ? wp_unslash($_COOKIE['authorization']) : '');
     
    169171        $decoded_token = $this->decode_id_token( $id_token );
    170172        $userinfo = $this->clean_id_token( $decoded_token );
     173        setcookie('authress-authorization-step', 'valid');
    171174
    172175        if ( $this->login_user($userinfo) ) {
     
    192195
    193196        if ( ! is_null( $user ) ) {
     197            setcookie('authress-authorization-step', 'update');
    194198            authress_debug_log('    Existing user: updating');
    195199            // User exists so log them in.
     
    211215                }
    212216
     217                setcookie('authress-authorization-step', 'propagate');
    213218                $updater = new Authress_Sso_Login_UsersRepo( $this->a0_options );
    214219                $updater->update($user->data->ID, $userinfo);
    215220            }
    216221
     222            setcookie('authress-authorization-step', 'store');
    217223            $this->users_repo->update_authress_object( $user->data->ID, $userinfo );
    218224            $this->do_login( $user);
     
    220226        }
    221227        try {
     228            setcookie('authress-authorization-step', 'create');
    222229            authress_debug_log('    New user: creating.');
    223230            $creator = new Authress_Sso_Login_UsersRepo( $this->a0_options );
     
    260267        authress_debug_log($user->user_login);
    261268
     269        setcookie('authress-authorization-step', 'complete');
    262270        wp_set_auth_cookie( $user->ID, $remember_users_session, $secure_cookie );
    263271        do_action( 'wp_login', $user->user_login, $user );
  • authress/tags/0.2.73/readme.txt

    r2715042 r2715046  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.72
     7Stable tag: 0.2.73
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
  • authress/tags/0.2.73/vendor/autoload.php

    r2715042 r2715046  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1::getLoader();
     7return ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451::getLoader();
  • authress/tags/0.2.73/vendor/composer/InstalledVersions.php

    r2715042 r2715046  
    3131    array (
    3232    ),
    33     'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     33    'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    3434    'name' => 'authress/wordpress-plugin.php',
    3535  ),
     
    4343      array (
    4444      ),
    45       'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     45      'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    4646    ),
    4747    'codercat/jwk-to-pem' =>
  • authress/tags/0.2.73/vendor/composer/autoload_real.php

    r2715042 r2715046  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1
     5class ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit351e142ab6df3f8809480d994f8b0451::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire438b0f3c0f951498e00b132be546f1d1($fileIdentifier, $file);
     61            composerRequire351e142ab6df3f8809480d994f8b0451($fileIdentifier, $file);
    6262        }
    6363
     
    6666}
    6767
    68 function composerRequire438b0f3c0f951498e00b132be546f1d1($fileIdentifier, $file)
     68function composerRequire351e142ab6df3f8809480d994f8b0451($fileIdentifier, $file)
    6969{
    7070    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • authress/tags/0.2.73/vendor/composer/autoload_static.php

    r2715042 r2715046  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit438b0f3c0f951498e00b132be546f1d1
     7class ComposerStaticInit351e142ab6df3f8809480d994f8b0451
    88{
    99    public static $files = array (
     
    631631    {
    632632        return \Closure::bind(function () use ($loader) {
    633             $loader->prefixLengthsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$prefixLengthsPsr4;
    634             $loader->prefixDirsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$prefixDirsPsr4;
    635             $loader->fallbackDirsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$fallbackDirsPsr4;
    636             $loader->classMap = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$classMap;
     633            $loader->prefixLengthsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$prefixLengthsPsr4;
     634            $loader->prefixDirsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$prefixDirsPsr4;
     635            $loader->fallbackDirsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$fallbackDirsPsr4;
     636            $loader->classMap = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$classMap;
    637637
    638638        }, null, ClassLoader::class);
  • authress/tags/0.2.73/vendor/composer/installed.php

    r2715042 r2715046  
    77    array (
    88    ),
    9     'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     9    'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    1010    'name' => 'authress/wordpress-plugin.php',
    1111  ),
     
    1919      array (
    2020      ),
    21       'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     21      'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    2222    ),
    2323    'codercat/jwk-to-pem' =>
  • authress/tags/0.2.73/wordpress/readme.txt

    r2715042 r2715046  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.72
     7Stable tag: 0.2.73
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
  • authress/trunk/Authress_Sso_Login.php

    r2715042 r2715046  
    44    Plugin URI:   https://wordpress.org/plugins/authress
    55    Description:  Upgrades the WordPress login to support SSO Login.
    6     Version:      0.2.72
     6    Version:      0.2.73
    77    Author:       Authress
    88    Author URI:   https://authress.io
     
    1111*/
    1212
    13 define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.72' );
     13define( 'AUTHRESS_SSO_LOGIN_VERSION', '0.2.73' );
    1414
    1515define( 'AUTHRESS_SSO_LOGIN_PLUGIN_FILE', __FILE__ );
  • authress/trunk/lib/Authress_Sso_Login_LoginManager.php

    r2715042 r2715046  
    100100        // Catch any incoming errors and stop the login process.
    101101        if ( ! empty( $_REQUEST['error'] ) || ! empty( $_REQUEST['error_description'] ) ) {
     102            setcookie('authress-authorization-step', 'log');
    102103            // Input variable is sanitized.
    103104            // phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
     
    145146     */
    146147    public function handle_login_redirect() {
     148        setcookie('authress-authorization-step', 'parse');
    147149        authress_debug_log('=> handle_login_redirect');
    148150        $access_token = sanitize_text_field(isset($_COOKIE['authorization']) ? wp_unslash($_COOKIE['authorization']) : '');
     
    169171        $decoded_token = $this->decode_id_token( $id_token );
    170172        $userinfo = $this->clean_id_token( $decoded_token );
     173        setcookie('authress-authorization-step', 'valid');
    171174
    172175        if ( $this->login_user($userinfo) ) {
     
    192195
    193196        if ( ! is_null( $user ) ) {
     197            setcookie('authress-authorization-step', 'update');
    194198            authress_debug_log('    Existing user: updating');
    195199            // User exists so log them in.
     
    211215                }
    212216
     217                setcookie('authress-authorization-step', 'propagate');
    213218                $updater = new Authress_Sso_Login_UsersRepo( $this->a0_options );
    214219                $updater->update($user->data->ID, $userinfo);
    215220            }
    216221
     222            setcookie('authress-authorization-step', 'store');
    217223            $this->users_repo->update_authress_object( $user->data->ID, $userinfo );
    218224            $this->do_login( $user);
     
    220226        }
    221227        try {
     228            setcookie('authress-authorization-step', 'create');
    222229            authress_debug_log('    New user: creating.');
    223230            $creator = new Authress_Sso_Login_UsersRepo( $this->a0_options );
     
    260267        authress_debug_log($user->user_login);
    261268
     269        setcookie('authress-authorization-step', 'complete');
    262270        wp_set_auth_cookie( $user->ID, $remember_users_session, $secure_cookie );
    263271        do_action( 'wp_login', $user->user_login, $user );
  • authress/trunk/readme.txt

    r2715042 r2715046  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.72
     7Stable tag: 0.2.73
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
  • authress/trunk/vendor/autoload.php

    r2715042 r2715046  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1::getLoader();
     7return ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451::getLoader();
  • authress/trunk/vendor/composer/InstalledVersions.php

    r2715042 r2715046  
    3131    array (
    3232    ),
    33     'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     33    'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    3434    'name' => 'authress/wordpress-plugin.php',
    3535  ),
     
    4343      array (
    4444      ),
    45       'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     45      'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    4646    ),
    4747    'codercat/jwk-to-pem' =>
  • authress/trunk/vendor/composer/autoload_real.php

    r2715042 r2715046  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1
     5class ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit438b0f3c0f951498e00b132be546f1d1', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit351e142ab6df3f8809480d994f8b0451', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit351e142ab6df3f8809480d994f8b0451::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire438b0f3c0f951498e00b132be546f1d1($fileIdentifier, $file);
     61            composerRequire351e142ab6df3f8809480d994f8b0451($fileIdentifier, $file);
    6262        }
    6363
     
    6666}
    6767
    68 function composerRequire438b0f3c0f951498e00b132be546f1d1($fileIdentifier, $file)
     68function composerRequire351e142ab6df3f8809480d994f8b0451($fileIdentifier, $file)
    6969{
    7070    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • authress/trunk/vendor/composer/autoload_static.php

    r2715042 r2715046  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit438b0f3c0f951498e00b132be546f1d1
     7class ComposerStaticInit351e142ab6df3f8809480d994f8b0451
    88{
    99    public static $files = array (
     
    631631    {
    632632        return \Closure::bind(function () use ($loader) {
    633             $loader->prefixLengthsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$prefixLengthsPsr4;
    634             $loader->prefixDirsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$prefixDirsPsr4;
    635             $loader->fallbackDirsPsr4 = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$fallbackDirsPsr4;
    636             $loader->classMap = ComposerStaticInit438b0f3c0f951498e00b132be546f1d1::$classMap;
     633            $loader->prefixLengthsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$prefixLengthsPsr4;
     634            $loader->prefixDirsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$prefixDirsPsr4;
     635            $loader->fallbackDirsPsr4 = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$fallbackDirsPsr4;
     636            $loader->classMap = ComposerStaticInit351e142ab6df3f8809480d994f8b0451::$classMap;
    637637
    638638        }, null, ClassLoader::class);
  • authress/trunk/vendor/composer/installed.php

    r2715042 r2715046  
    77    array (
    88    ),
    9     'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     9    'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    1010    'name' => 'authress/wordpress-plugin.php',
    1111  ),
     
    1919      array (
    2020      ),
    21       'reference' => '4857b5559445d457c46fd502fdc8300ef835b028',
     21      'reference' => '17092d4007ffdfcebf55323321688967ee896649',
    2222    ),
    2323    'codercat/jwk-to-pem' =>
  • authress/trunk/wordpress/readme.txt

    r2715042 r2715046  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.72
     7Stable tag: 0.2.73
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
Note: See TracChangeset for help on using the changeset viewer.