Plugin Directory

Changeset 2690711


Ignore:
Timestamp:
03/08/2022 11:06:25 AM (4 years ago)
Author:
authress
Message:

Update to version 0.2.51 from GitHub

Location:
authress
Files:
3 added
19 edited
1 copied

Legend:

Unmodified
Added
Removed
  • authress/assets/readme.txt

    r2690169 r2690711  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.47
     7Stable tag: 0.2.51
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
     
    7272No problem, you can directly connect with the Authress development team in our [user community](https://authress.io/community), and we'll help you get squared away.
    7373
     74
     75== Screenshots ==
     76
     771. Enable your users to login with their email for any domain.
     78
    7479== Changelog ==
    7580
    7681[Complete list of changes for this and other releases](https://github.com/Authress/wordpress-sso-login)
     82
     83= 0.2 =
     84* Added additional support for Google and GitHub SSO.
     85* Enabled custom configuration of the login form via standard WordPress hooks.
  • authress/tags/0.2.51/Authress_Sso_Login.php

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

    r2690169 r2690711  
    9292    public function init_authress() {
    9393        authress_debug_log('init_authress');
     94
    9495        // Not an Authress login process or settings are not configured to allow logins.
    9596        if ( ! authress_plugin_has_been_fully_configured() ) {
     
    321322        // Log the user out completely.
    322323        wp_destroy_current_session();
     324        wp_logout();
    323325        wp_clear_auth_cookie();
    324326        wp_set_current_user( 0 );
    325 
    326         $html = sprintf(
    327             '%s: %s [%s: %s]<br><br><a href="%s">%s</a>',
    328             __( 'There was a problem with your log in', 'wp-authress' ),
    329             ! empty( $msg )
    330                 ? sanitize_text_field( $msg )
    331                 : __( 'Please see the site administrator', 'wp-authress' ),
    332             __( 'error code', 'wp-authress' ),
    333             $code ? sanitize_text_field( $code ) : __( 'unknown', 'wp-authress' ),
    334             $this->authress_logout_url( wp_login_url() ),
    335             __( '← Login', 'wp-authress' )
    336         );
    337 
    338         wp_die( esc_html($html) );
     327        wp_safe_redirect(wp_login_url());
     328        exit;
     329
     330        // $html = sprintf(
     331        //  '%s: %s [%s: %s]<br><br><a href="%s">%s</a>',
     332        //  __( 'There was a problem with your log in', 'wp-authress' ),
     333        //  ! empty( $msg )
     334        //      ? sanitize_text_field( $msg )
     335        //      : __( 'Please see the site administrator', 'wp-authress' ),
     336        //  __( 'error code', 'wp-authress' ),
     337        //  $code ? sanitize_text_field( $code ) : __( 'unknown', 'wp-authress' ),
     338        //  $this->authress_logout_url( wp_login_url() ),
     339        //  __( '← Login', 'wp-authress' )
     340        // );
     341
     342        // wp_die($html);
    339343    }
    340344
     
    368372                }
    369373            }
     374        }
     375
     376        if ($jwk === null) {
     377            throw new Authress_Sso_Login_InvalidIdTokenException();
    370378        }
    371379
  • authress/tags/0.2.51/readme.txt

    r2690169 r2690711  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.47
     7Stable tag: 0.2.51
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
     
    7272No problem, you can directly connect with the Authress development team in our [user community](https://authress.io/community), and we'll help you get squared away.
    7373
     74
     75== Screenshots ==
     76
     771. Enable your users to login with their email for any domain.
     78
    7479== Changelog ==
    7580
    7681[Complete list of changes for this and other releases](https://github.com/Authress/wordpress-sso-login)
     82
     83= 0.2 =
     84* Added additional support for Google and GitHub SSO.
     85* Enabled custom configuration of the login form via standard WordPress hooks.
  • authress/tags/0.2.51/vendor/autoload.php

    r2690169 r2690711  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd::getLoader();
     7return ComposerAutoloaderInite1976fa38244c518f0301a303970e427::getLoader();
  • authress/tags/0.2.51/vendor/composer/InstalledVersions.php

    r2690169 r2690711  
    3131    array (
    3232    ),
    33     'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     33    'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    3434    'name' => 'authress/wordpress-plugin.php',
    3535  ),
     
    4343      array (
    4444      ),
    45       'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     45      'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    4646    ),
    4747    'codercat/jwk-to-pem' =>
  • authress/tags/0.2.51/vendor/composer/autoload_real.php

    r2690169 r2690711  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd
     5class ComposerAutoloaderInite1976fa38244c518f0301a303970e427
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInite1976fa38244c518f0301a303970e427', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInite1976fa38244c518f0301a303970e427', '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\ComposerStaticInitc7bbfa76ede0b3adf5ed4653a0a096bd::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInite1976fa38244c518f0301a303970e427::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInitc7bbfa76ede0b3adf5ed4653a0a096bd::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInite1976fa38244c518f0301a303970e427::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequirec7bbfa76ede0b3adf5ed4653a0a096bd($fileIdentifier, $file);
     61            composerRequiree1976fa38244c518f0301a303970e427($fileIdentifier, $file);
    6262        }
    6363
     
    6666}
    6767
    68 function composerRequirec7bbfa76ede0b3adf5ed4653a0a096bd($fileIdentifier, $file)
     68function composerRequiree1976fa38244c518f0301a303970e427($fileIdentifier, $file)
    6969{
    7070    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • authress/tags/0.2.51/vendor/composer/autoload_static.php

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

    r2690169 r2690711  
    77    array (
    88    ),
    9     'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     9    'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    1010    'name' => 'authress/wordpress-plugin.php',
    1111  ),
     
    1919      array (
    2020      ),
    21       'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     21      'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    2222    ),
    2323    'codercat/jwk-to-pem' =>
  • authress/tags/0.2.51/wordpress/readme.txt

    r2690169 r2690711  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.47
     7Stable tag: 0.2.51
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
     
    7272No problem, you can directly connect with the Authress development team in our [user community](https://authress.io/community), and we'll help you get squared away.
    7373
     74
     75== Screenshots ==
     76
     771. Enable your users to login with their email for any domain.
     78
    7479== Changelog ==
    7580
    7681[Complete list of changes for this and other releases](https://github.com/Authress/wordpress-sso-login)
     82
     83= 0.2 =
     84* Added additional support for Google and GitHub SSO.
     85* Enabled custom configuration of the login form via standard WordPress hooks.
  • authress/trunk/Authress_Sso_Login.php

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

    r2690169 r2690711  
    9292    public function init_authress() {
    9393        authress_debug_log('init_authress');
     94
    9495        // Not an Authress login process or settings are not configured to allow logins.
    9596        if ( ! authress_plugin_has_been_fully_configured() ) {
     
    321322        // Log the user out completely.
    322323        wp_destroy_current_session();
     324        wp_logout();
    323325        wp_clear_auth_cookie();
    324326        wp_set_current_user( 0 );
    325 
    326         $html = sprintf(
    327             '%s: %s [%s: %s]<br><br><a href="%s">%s</a>',
    328             __( 'There was a problem with your log in', 'wp-authress' ),
    329             ! empty( $msg )
    330                 ? sanitize_text_field( $msg )
    331                 : __( 'Please see the site administrator', 'wp-authress' ),
    332             __( 'error code', 'wp-authress' ),
    333             $code ? sanitize_text_field( $code ) : __( 'unknown', 'wp-authress' ),
    334             $this->authress_logout_url( wp_login_url() ),
    335             __( '← Login', 'wp-authress' )
    336         );
    337 
    338         wp_die( esc_html($html) );
     327        wp_safe_redirect(wp_login_url());
     328        exit;
     329
     330        // $html = sprintf(
     331        //  '%s: %s [%s: %s]<br><br><a href="%s">%s</a>',
     332        //  __( 'There was a problem with your log in', 'wp-authress' ),
     333        //  ! empty( $msg )
     334        //      ? sanitize_text_field( $msg )
     335        //      : __( 'Please see the site administrator', 'wp-authress' ),
     336        //  __( 'error code', 'wp-authress' ),
     337        //  $code ? sanitize_text_field( $code ) : __( 'unknown', 'wp-authress' ),
     338        //  $this->authress_logout_url( wp_login_url() ),
     339        //  __( '← Login', 'wp-authress' )
     340        // );
     341
     342        // wp_die($html);
    339343    }
    340344
     
    368372                }
    369373            }
     374        }
     375
     376        if ($jwk === null) {
     377            throw new Authress_Sso_Login_InvalidIdTokenException();
    370378        }
    371379
  • authress/trunk/readme.txt

    r2690169 r2690711  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.47
     7Stable tag: 0.2.51
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
     
    7272No problem, you can directly connect with the Authress development team in our [user community](https://authress.io/community), and we'll help you get squared away.
    7373
     74
     75== Screenshots ==
     76
     771. Enable your users to login with their email for any domain.
     78
    7479== Changelog ==
    7580
    7681[Complete list of changes for this and other releases](https://github.com/Authress/wordpress-sso-login)
     82
     83= 0.2 =
     84* Added additional support for Google and GitHub SSO.
     85* Enabled custom configuration of the login form via standard WordPress hooks.
  • authress/trunk/vendor/autoload.php

    r2690169 r2690711  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd::getLoader();
     7return ComposerAutoloaderInite1976fa38244c518f0301a303970e427::getLoader();
  • authress/trunk/vendor/composer/InstalledVersions.php

    r2690169 r2690711  
    3131    array (
    3232    ),
    33     'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     33    'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    3434    'name' => 'authress/wordpress-plugin.php',
    3535  ),
     
    4343      array (
    4444      ),
    45       'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     45      'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    4646    ),
    4747    'codercat/jwk-to-pem' =>
  • authress/trunk/vendor/composer/autoload_real.php

    r2690169 r2690711  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd
     5class ComposerAutoloaderInite1976fa38244c518f0301a303970e427
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInite1976fa38244c518f0301a303970e427', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc7bbfa76ede0b3adf5ed4653a0a096bd', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInite1976fa38244c518f0301a303970e427', '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\ComposerStaticInitc7bbfa76ede0b3adf5ed4653a0a096bd::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInite1976fa38244c518f0301a303970e427::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInitc7bbfa76ede0b3adf5ed4653a0a096bd::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInite1976fa38244c518f0301a303970e427::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequirec7bbfa76ede0b3adf5ed4653a0a096bd($fileIdentifier, $file);
     61            composerRequiree1976fa38244c518f0301a303970e427($fileIdentifier, $file);
    6262        }
    6363
     
    6666}
    6767
    68 function composerRequirec7bbfa76ede0b3adf5ed4653a0a096bd($fileIdentifier, $file)
     68function composerRequiree1976fa38244c518f0301a303970e427($fileIdentifier, $file)
    6969{
    7070    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • authress/trunk/vendor/composer/autoload_static.php

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

    r2690169 r2690711  
    77    array (
    88    ),
    9     'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     9    'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    1010    'name' => 'authress/wordpress-plugin.php',
    1111  ),
     
    1919      array (
    2020      ),
    21       'reference' => '6f92d58911c0776d27de345e816c279c9816a746',
     21      'reference' => 'a8630816f8fc7cf87a997ac33495b2ac5b95dacf',
    2222    ),
    2323    'codercat/jwk-to-pem' =>
  • authress/trunk/wordpress/readme.txt

    r2690169 r2690711  
    55Requires PHP: 7.4
    66Tested up to: 5.9.1
    7 Stable tag: 0.2.47
     7Stable tag: 0.2.51
    88License: Apache-2.0
    99License URI: https://github.com/Authress/wordpress-sso-login/blob/main/LICENSE
     
    7272No problem, you can directly connect with the Authress development team in our [user community](https://authress.io/community), and we'll help you get squared away.
    7373
     74
     75== Screenshots ==
     76
     771. Enable your users to login with their email for any domain.
     78
    7479== Changelog ==
    7580
    7681[Complete list of changes for this and other releases](https://github.com/Authress/wordpress-sso-login)
     82
     83= 0.2 =
     84* Added additional support for Google and GitHub SSO.
     85* Enabled custom configuration of the login form via standard WordPress hooks.
Note: See TracChangeset for help on using the changeset viewer.