Commit Graph

196 Commits (40231daf5aeff95a57b50e2bf0a79bc8467662f4)
 

Author SHA1 Message Date
Tim Nolte 40231daf5a
Fix Plugin Version in Header
Tim Nolte bfa31bf983
Fix GitHub Deployment Action for `main` Branch Deployments.
Tim Nolte 5464276cd4
Prepare version 3.7.0 for release.
Tim Nolte 3e97a145e9
Merge pull request from timnolte/feature/redirect-with-shortcode
Add Redirect & Override Attributes Support to Shortcodes.
Tim Nolte 838912a173
* Merges branch 'feature/redirect-with-shortcode' of github.com:timnolte/openid-connect-generic into feature/redirect-with-shortcode
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.
Tim Nolte 42a7163160
Merge pull request from timnolte/feature/disable-refresh-token
Adds Option to Enable/Disable Token Refresh.
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 
Tim Nolte 65051b75a8
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.
Jonathan Daggerhart 783b2108b2 github workflow for deploying to wp.org
Jonathan Daggerhart bf2e517a89 removing trailing whitespace
Jonathan Daggerhart a0dfa7723d documenting new username normalization
Jonathan Daggerhart 3ff22090dd
Merge pull request from flat235/fix-silent-iconv-failure
add Error messages on failed username transliteration/normalization
Jonathan Daggerhart d91d6d2ea3
Merge branch 'dev' into fix-silent-iconv-failure
Jonathan Daggerhart fb3a9f53c3 updating version and readme for new changes
Jonathan Daggerhart f81dbcc6e5
Merge pull request from benochen/contribution
Add a setting checkbox defining the behavior of the client if a user…
Jonathan Daggerhart 4a84b3c651
Merge pull request from cs1m0n/increment_username_fix
Increment username just when link_existing_users is off
Jonathan Daggerhart d39c0da990
Merge pull request from dxw/feature/actions-for-error-logging
Increase granularity of state token errors
Jonathan Daggerhart dc41454283
Merge pull request from dxw/feature/login-button-url-filter
Add filter for login form button URL
Jonathan Daggerhart cdcb165029
Merge pull request from xRy-42/dev
Allow periods and spaces in usernames
Eersink.Michael d21bc60fbc Allow periods and spaces in usernames
issue 
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.
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.
Jonathan Daggerhart 43badcc569
Merge pull request from vibbits/dev
RFC 3986 encode parameters in authentication URL
James Collier 8237aa5b84 RFC 3986 encode parameters in authentication URL
Jonathan Daggerhart 9f8ed8a195
Merge pull request from cs1m0n/delete_expired_transients
Delete expired transients
Simon Costea 0940c8c863 Delete expired transients
Simon Costea 8c82b86f29 Increment username just when link_existing_users is off
Jonathan Daggerhart 9cd4bad7cc
Merge pull request from bgeVam/patch-1
Add note on authentication url shortcode
GeorgB 0c83125c7a
Add note on authentication url shortcode
Jonathan Daggerhart f401b3f53b moving openid-connect-generic-alter-user-claim to top of method
Jonathan Daggerhart d35718dfef documenting new filters before token validation
Jonathan Daggerhart f01a8bf608
Merge pull request from ksimunovic/dev
Add two filters to modify received data before validation
Jonathan Daggerhart ab6fd4d77d
Merge pull request from theseis/dev
Add logger to OpenID_Connect_Generic
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)
Jonathan Daggerhart 1147ca2416
Merge pull request from daggerhart/90-state-race
Fix race condition by replacing states option array with individual transients
Jonathan Daggerhart bf514cedef cron job for cleaning up abandoned state transients
Jonathan Daggerhart 96bb449f39 Fix race condition by replacing states option array with individual transients
Karlo Šimunović 47ea6d6ec3 Add two filters to modify received $token_response and $id_token_claim before validation
This is related to 
Moritz Bellach 1f2b3171f0
add Error messages on failed username transliteration/normalization
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
Jonathan Daggerhart f42a587bf0
Merge pull request from TeDo-Verlag/notice-response-sent
avoid headers already sent error notice
Jonathan Daggerhart 1c126d11b8
Merge pull request from schamblee/issue-142
Allow multiple query params when redirecting back to origin
Stephanie 54d6784d44 Allow multiple query params when redirecting back to origin
Jonathan Daggerhart 4955be3b71
Merge pull request from dfredell/patch-1
More logging on incomplete-user-claim
gguseynov a70fc8fe04 avoid headers already sent error notice
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 
Jonathan Daggerhart 191c5659b8
Merge pull request from TeDo-Verlag/fix
Action is not running after update_existing_user() call
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
Jonathan Daggerhart f3829b48e2 documenting new action on user login