122 Commits (d902cdcee2673a46e45c017ee54b910874985692)

Author SHA1 Message Date
Tim Nolte d902cdcee2
Squashed commit of the following:
commit 39690e125092ff1392326a7738a6a815a41f0880
Author: Tim Nolte <tim.nolte@ndigitals.com>
Date:   Sat Apr 10 16:41:14 2021 -0400

    Preparation for New Maintenance Release

    - Updates Version to 3.8.4.
    - Updates Changelogs.

commit 1e1b84cfcc
Author: Tim Nolte <tnolte@forumone.com>
Date:   Sat Apr 10 12:00:40 2021 -0400

    Local Dev/Composer Scripts/Transient Redirection Fixes (#295)

    - Fixes local Docker wp-env environment setup w/ cleanup.
    - Fixes Composer scripts for linting and static analysis.
    - Fixes invalid State transient object handling for redirection.

commit 40e60474ab
Author: Tim Nolte <tnolte@forumone.com>
Date:   Thu Apr 8 22:10:53 2021 -0400

    Preparation for Maintenance Release (#291)

commit 8a963301ab
Author: Tim Nolte <tnolte@forumone.com>
Date:   Thu Apr 8 08:06:33 2021 -0400

    Fixes Broken Redirect URL Handling & Moves Away from Cookies (#289)

    * Initial Changes to Move Away from Cookies for Redirects

    * Add Redirection via State Transient Support

    - Adds adding the login redirection to the state transient.
    - Deprecates the use of cookies to handle login redirection.
    - Fixes Login button shortcode authentication URL encoding.
    - Fixes some broken wp-env local Docker environment issues.
    - Fixes make_authentication_url attributes usage.
    - Removes error_log calls used for debugging.

    * Fixes Missed WordPress Coding Standards Issues

    - Updates PHP_CodeSniffer configuration to properly support all checks.

    * Fixes Login Button Output for Proper Escaping

commit c839083cf1
Merge: 76c824a 14dbc06
Author: Tim Nolte <tnolte@forumone.com>
Date:   Wed Mar 24 10:10:09 2021 -0400

    Merges branch 'main' into dev

commit 76c824ab32
Author: Tim Nolte <tnolte@forumone.com>
Date:   Wed Mar 24 09:42:51 2021 -0400

    Fixes Login Page XSS Issue (#283)

    - Adds escaping to the errot output message.
    - Adds escaping to the login button output.

commit 2c7c21d3bb
Author: Tim Nolte <tnolte@forumone.com>
Date:   Mon Mar 22 12:53:01 2021 -0400

    Feature/travis ci to GitHub actions (#282)

    * Updates Composer/NPM Dependencies & Adds New GitHub Actions

    * Moves All CI/CI Functionality to GitHub Actions

    - Updates Composer & NPM dependencies to newer versions.
    - Updates default development environment WordPress version to 5.6.x.
    - Fixes missing updated to the language POT file.
    - Moves to using a GitHub Release for WordPress.org deployment.
    - Removes TravisCI configuration.
4 years ago
Tim Nolte eac1c3b651
Release/3.8.3 (#290)
* Feature/travis ci to GitHub actions (#282)

* Updates Composer/NPM Dependencies & Adds New GitHub Actions

* Moves All CI/CI Functionality to GitHub Actions

- Updates Composer & NPM dependencies to newer versions.
- Updates default development environment WordPress version to 5.6.x.
- Fixes missing updated to the language POT file.
- Moves to using a GitHub Release for WordPress.org deployment.
- Removes TravisCI configuration.

* Fixes Login Page XSS Issue (#283)

- Adds escaping to the errot output message.
- Adds escaping to the login button output.

* Fixes Broken Redirect URL Handling & Moves Away from Cookies (#289)

* Initial Changes to Move Away from Cookies for Redirects

* Add Redirection via State Transient Support

- Adds adding the login redirection to the state transient.
- Deprecates the use of cookies to handle login redirection.
- Fixes Login button shortcode authentication URL encoding.
- Fixes some broken wp-env local Docker environment issues.
- Fixes make_authentication_url attributes usage.
- Removes error_log calls used for debugging.

* Fixes Missed WordPress Coding Standards Issues

- Updates PHP_CodeSniffer configuration to properly support all checks.

* Fixes Login Button Output for Proper Escaping

* Preparation for Maintenance Release
4 years ago
Tim Nolte 14dbc06203
3.8.2 Security Release (#284)
* Feature/travis ci to GitHub actions (#282)

* Updates Composer/NPM Dependencies & Adds New GitHub Actions

* Moves All CI/CI Functionality to GitHub Actions

- Updates Composer & NPM dependencies to newer versions.
- Updates default development environment WordPress version to 5.6.x.
- Fixes missing updated to the language POT file.
- Moves to using a GitHub Release for WordPress.org deployment.
- Removes TravisCI configuration.

* Fixes Login Page XSS Issue (#283)

- Adds escaping to the errot output message.
- Adds escaping to the login button output.

* Patch Version Bump & Changelog Updates for Release
4 years ago
Tim Nolte 131e36b2d7
Logout Redirect URL Handling for Auto Login Setting & TravisCI Matrix Build Changes (#261)
- Fixes #260 by changing conditional check for logout redirect URL handling for Auto Login setting.
- Limits TravisCI matrix builds for pull requests & feature/fix branches.
4 years ago
Tim Nolte 68f7a38adb
Fixes Post Password Redirects & TravisCI Builds (#259)
- Fixes an issue with post password submission results in SSO
  authentication when "auto" mode is enabled.
- Fixes issues with TravisCI builds failing due to Composer updates
  occurring incorrectly during builds.
- Fixes to allow for WP version changes according to build matrix.
- Updates TravisCI build matrix.
4 years ago
Tim Nolte e5a2178b76
Fixes Localizaion on Error Output 4 years ago
Tim Nolte 93cd5d0cc2
Plugin Settings Page Updates Using Constants
- Ensures that any available defined constants are loaded in place of
  any database stored settings as an override.
4 years ago
Tim Nolte cf99f6a263
Adds Support for IDP Settings as Defined Constants
- Reads from defined constants on plugin bootstrap.
- Disabled plugin settings fields when defined constants are used.
_ Prevents savings plugin settings that are using defined constants.
4 years ago
Tim Nolte f821db0870
Fixes missing loaded settings property assignment. 4 years ago
Tim Nolte 4ceff40226
Fixes Plugin Pass i18n Checks
* Adds i18n check to Travis CI builds.
* Adds additional i18n run scripts to package.json.
4 years ago
Tim Nolte 78ede5dffb
Updates Code Base to Pass Level 5 Baseline
* Ensures PHP Code Sniffs continue to pass.
* Fixes all code base issues to pass a level 5 PHP static analysis.
* Updates PHPStan configurations to use a level 5 baseline.
4 years ago
Tim Nolte cce7195fe1
Fixes all PHP Code Sniffer WordPress Coding Standards Issues. 5 years ago
Tim Nolte e62b31ee87
Near Completion Update of PHP Code Sniffer Compliance Changes. 5 years ago
Tim Nolte 139791a75c
Current state of coding standards and analysis fixes. 5 years ago
Tim Nolte 79f45e7f89
Initial Coding Standards & Static Analysis Chanages.
* Adds WordPress coding standards configuration.
* Adds WordPress/PHP static analysis configuration.
* Adds Git hooks to enforce checks and ensure quality on commits.
* Adds initial local Docker development environment setup.
5 years ago
Tim Nolte 107a066bd5
Add Redirect & Override Attributes Support to Shortcodes.
* Adds support for setting the redirect cookie when shortcodes are used.
* Adds support for overriding some attributes for authentication URLs
  and login buttons when using the shortcodes.
* Fixes code formatting.
5 years ago
Tim Nolte 42a7163160
Merge pull request #199 from timnolte/feature/disable-refresh-token
Adds Option to Enable/Disable Token Refresh.
5 years ago
Tim Nolte 1c8a9d166c
Adds Option to Enable/Disable Token Refresh.
* Adds a new plugin setting.
* Adds a check and doesn't create cookie for refresh token if not
  enabled.
* Fixes code formatting.

Fixes #144
5 years ago
Jonathan Daggerhart bf2e517a89 removing trailing whitespace 5 years ago
Jonathan Daggerhart a0dfa7723d documenting new username normalization 5 years ago
Jonathan Daggerhart d91d6d2ea3
Merge branch 'dev' into fix-silent-iconv-failure 5 years ago
Jonathan Daggerhart fb3a9f53c3 updating version and readme for new changes 5 years ago
Jonathan Daggerhart f81dbcc6e5
Merge pull request #148 from benochen/contribution
Add a setting checkbox defining the behavior of the client if a user…
5 years ago
Jonathan Daggerhart 4a84b3c651
Merge pull request #183 from cs1m0n/increment_username_fix
Increment username just when link_existing_users is off
5 years ago
Jonathan Daggerhart d39c0da990
Merge pull request #189 from dxw/feature/actions-for-error-logging
Increase granularity of state token errors
5 years ago
Jonathan Daggerhart dc41454283
Merge pull request #191 from dxw/feature/login-button-url-filter
Add filter for login form button URL
5 years ago
Eersink.Michael d21bc60fbc Allow periods and spaces in usernames
issue #141
5 years ago
Rob Skilling 474f6cb361 Add filter for login form button URL
This will allow developers to e.g. redirect users to an intermediary page before being taken to the SSO provider.
5 years ago
Rob Skilling 836500a495 Increase detail of state token errors
Before: a missing state error could be returned for 3 reasons: a token was not provided, the token provided was invalid, or the token provided had expired.

There was no way of knowing which of these was the cause of any single missing state error.

Now: if no token is provided, a missing state error is returned, and the "openid-connect-generic-no-state-provided" action is called.

If the token provided is invalid, an "Invalid state" error is thrown and the "openid-connect-generic-state-not-found" action is called.

If the token provided has expired, an "Invalid state" error is returned and the "openid-connect-generic-state-expired" action is called.

This should allow for more granular error logging around state token errors.
5 years ago
James Collier 8237aa5b84 RFC 3986 encode parameters in authentication URL 5 years ago
Simon Costea 0940c8c863 Delete expired transients 5 years ago
Simon Costea 8c82b86f29 Increment username just when link_existing_users is off 5 years ago
GeorgB 0c83125c7a
Add note on authentication url shortcode 5 years ago
Jonathan Daggerhart f401b3f53b moving openid-connect-generic-alter-user-claim to top of method 5 years ago
Jonathan Daggerhart f01a8bf608
Merge pull request #156 from ksimunovic/dev
Add two filters to modify received data before validation
5 years ago
SYLVAIN PAILLASSE 11695f56ab Add logger to OpenID_Connect_Generic
(also remove code parameter value in the query stirng url for better reading of the logs)
5 years ago
Jonathan Daggerhart 96bb449f39 Fix race condition by replacing states option array with individual transients 5 years ago
Karlo Šimunović 47ea6d6ec3 Add two filters to modify received $token_response and $id_token_claim before validation
This is related to daggerhart/openid-connect-generic#155
5 years ago
Moritz Bellach 1f2b3171f0
add Error messages on failed username transliteration/normalization 5 years ago
benoit 66a0b319d4 Add a setting checkbox defining the behavior of the client if a user authenticates with a user not map with existing WP user. If tick the user is created. If not tick the authentication failed 5 years ago
Jonathan Daggerhart f42a587bf0
Merge pull request #145 from TeDo-Verlag/notice-response-sent
avoid headers already sent error notice
5 years ago
Stephanie 54d6784d44 Allow multiple query params when redirecting back to origin 5 years ago
Jonathan Daggerhart 4955be3b71
Merge pull request #137 from dfredell/patch-1
More logging on incomplete-user-claim
5 years ago
gguseynov a70fc8fe04 avoid headers already sent error notice 5 years ago
Dan Fredell 8c5b265ca7
More logging on incomplete-user-claim
Add logging so the user can more quickly discover which filed is unavailable during formatting. 
Helps in debugging #91
6 years ago
gguseynov caf3ea7267 1. run 'openid-connect-generic-update-user-using-current-claim' action
if existing user was updated
2. add_user_meta with single=true does not overwrite old value
6 years ago
Jonathan Daggerhart f3829b48e2 documenting new action on user login 6 years ago
Gassan Gousseinov 96b25f6c90 added force_redirect parameter and login action 6 years ago
Gassan Gousseinov 11e89fd9b2 fix stripos call 6 years ago
Sarah Lewis 39ae1f8a8f Filter redirect URL before stashing it to a cookie 6 years ago