Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #304

Merged
merged 2 commits into from
Apr 16, 2021
Merged

Main #304

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# OpenId Connect Generic Changelog

3.8.5
* Fix: @timnolte - Fixes missing URL request validation before use & ensure proper current page URL is setup for Redirect Back.
* Fix: @timnolte - Fixes Redirect URL Logic to Handle Sub-directory Installs.
* Fix: @timnolte - Fixes to provide proper redirect user back for the openid_connect_generic_auth_url shortcode.

3.8.4
* Fix: @timnolte - Fixed invalid State object access for redirection handling.
* Improvement: @timnolte - Fixed local wp-env Docker development environment.
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Donate link:** http://www.daggerhart.com/
**Tags:** security, login, oauth2, openidconnect, apps, authentication, autologin, sso
**Requires at least:** 4.9
**Tested up to:** 5.6
**Stable tag:** 3.8.4
**Tested up to:** 5.7.1
**Stable tag:** 3.8.5
**Requires PHP:** 7.1
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -51,6 +51,12 @@ On the settings page for this plugin (Dashboard > Settings > OpenID Connect Gene

## Changelog ##

### 3.8.5

* Fix: @timnolte - Fixes missing URL request validation before use & ensure proper current page URL is setup for Redirect Back.
* Fix: @timnolte - Fixes Redirect URL Logic to Handle Sub-directory Installs.
* Fix: @timnolte - Fixes to provide proper redirect user back for the openid_connect_generic_auth_url shortcode.
###
### 3.8.4 ###

* Fix: @timnolte - Fixed invalid State object access for redirection handling.
Expand Down
66 changes: 33 additions & 33 deletions languages/openid-connect-generic.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: OpenID Connect Generic 3.8.4\n"
"Project-Id-Version: OpenID Connect Generic 3.8.5\n"
"Report-Msgid-Bugs-To: "
"https://github.com/daggerhart/openid-connect-generic/issues\n"
"POT-Creation-Date: 2021-04-10 20:38:53+00:00\n"
"POT-Creation-Date: 2021-04-16 03:38:39+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -25,131 +25,131 @@ msgstr ""
"X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"

#: includes/openid-connect-generic-client-wrapper.php:194
#: includes/openid-connect-generic-client-wrapper.php:277
msgid "Session expired. Please login again."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:437
#: includes/openid-connect-generic-client-wrapper.php:520
msgid "User identity is not linked to an existing WordPress user."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:493
#: includes/openid-connect-generic-client-wrapper.php:576
msgid "Invalid user."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:612
#: includes/openid-connect-generic-client-wrapper.php:695
msgid "No appropriate username found."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:620
#: includes/openid-connect-generic-client-wrapper.php:703
#. translators: $1$s is a username from the IDP.
msgid "Username %1$s could not be transliterated."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:625
#: includes/openid-connect-generic-client-wrapper.php:708
#. translators: %1$s is the ASCII version of the username from the IDP.
msgid "Username %1$s could not be normalized."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:659
#: includes/openid-connect-generic-client-wrapper.php:742
#. translators: %1$s is the configured User Claim nickname key.
msgid "No nickname found in user claim using key: %1$s."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:686
#: includes/openid-connect-generic-client-wrapper.php:769
msgid "User claim incomplete."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:788
#: includes/openid-connect-generic-client-wrapper.php:871
msgid "Bad user claim result."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:843
#: includes/openid-connect-generic-client-wrapper.php:926
msgid "Can not authorize."
msgstr ""

#: includes/openid-connect-generic-client-wrapper.php:862
#: includes/openid-connect-generic-client-wrapper.php:945
msgid "Failed user creation."
msgstr ""

#: includes/openid-connect-generic-client.php:191
#: includes/openid-connect-generic-client.php:165
msgid "Missing state."
msgstr ""

#: includes/openid-connect-generic-client.php:195
#: includes/openid-connect-generic-client.php:169
msgid "Invalid state."
msgstr ""

#: includes/openid-connect-generic-client.php:210
#: includes/openid-connect-generic-client.php:184
msgid "Missing authentication code."
msgstr ""

#: includes/openid-connect-generic-client.php:249
#: includes/openid-connect-generic-client.php:223
msgid "Request for authentication token failed."
msgstr ""

#: includes/openid-connect-generic-client.php:280
#: includes/openid-connect-generic-client.php:254
msgid "Refresh token failed."
msgstr ""

#: includes/openid-connect-generic-client.php:295
#: includes/openid-connect-generic-client.php:269
msgid "Missing token body."
msgstr ""

#: includes/openid-connect-generic-client.php:303
#: includes/openid-connect-generic-client.php:277
msgid "Invalid token."
msgstr ""

#: includes/openid-connect-generic-client.php:354
#: includes/openid-connect-generic-client.php:328
msgid "Request for userinfo failed."
msgstr ""

#: includes/openid-connect-generic-client.php:414
#: includes/openid-connect-generic-client.php:388
msgid "Missing authentication state."
msgstr ""

#: includes/openid-connect-generic-client.php:451
#: includes/openid-connect-generic-client.php:425
msgid "No identity token."
msgstr ""

#: includes/openid-connect-generic-client.php:458
#: includes/openid-connect-generic-client.php:432
msgid "Missing identity token."
msgstr ""

#: includes/openid-connect-generic-client.php:485
#: includes/openid-connect-generic-client.php:459
msgid "Bad ID token claim."
msgstr ""

#: includes/openid-connect-generic-client.php:490
#: includes/openid-connect-generic-client.php:464
msgid "No subject identity."
msgstr ""

#: includes/openid-connect-generic-client.php:509
#: includes/openid-connect-generic-client.php:483
msgid "Bad user claim."
msgstr ""

#: includes/openid-connect-generic-client.php:529
#: includes/openid-connect-generic-client.php:503
msgid "Invalid user claim."
msgstr ""

#: includes/openid-connect-generic-client.php:534
#: includes/openid-connect-generic-client.php:508
msgid "Error from the IDP."
msgstr ""

#: includes/openid-connect-generic-client.php:543
#: includes/openid-connect-generic-client.php:517
msgid "Incorrect user claim."
msgstr ""

#: includes/openid-connect-generic-client.php:550
#: includes/openid-connect-generic-client.php:524
msgid "Unauthorized access."
msgstr ""

#: includes/openid-connect-generic-login-form.php:169
#: includes/openid-connect-generic-login-form.php:123
#. translators: %1$s is the error code from the IDP.
msgid "ERROR (%1$s)"
msgstr ""

#: includes/openid-connect-generic-login-form.php:188
#: includes/openid-connect-generic-login-form.php:142
msgid "Login with OpenID Connect"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions openid-connect-generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: OpenID Connect Generic
* Plugin URI: https://github.com/daggerhart/openid-connect-generic
* Description: Connect to an OpenID Connect generic client using Authorization Code Flow.
* Version: 3.8.4
* Version: 3.8.5
* Author: daggerhart
* Author URI: http://www.daggerhart.com
* Text Domain: daggerhart-openid-connect-generic
Expand Down Expand Up @@ -80,7 +80,7 @@ class OpenID_Connect_Generic {
*
* @var
*/
const VERSION = '3.8.4';
const VERSION = '3.8.5';

/**
* Plugin settings.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openid-connect-generic",
"version": "3.8.4",
"version": "3.8.5",
"description": "OpenID Connect generic WordPress plugin.",
"main": "Gruntfile.js",
"repository": {
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: daggerhart, tnolte
Donate link: http://www.daggerhart.com/
Tags: security, login, oauth2, openidconnect, apps, authentication, autologin, sso
Requires at least: 4.9
Tested up to: 5.6
Stable tag: 3.8.4
Tested up to: 5.7.1
Stable tag: 3.8.5
Requires PHP: 7.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -51,6 +51,12 @@ On the settings page for this plugin (Dashboard > Settings > OpenID Connect Gene

== Changelog ==

= 3.8.5

* Fix: @timnolte - Fixes missing URL request validation before use & ensure proper current page URL is setup for Redirect Back.
* Fix: @timnolte - Fixes Redirect URL Logic to Handle Sub-directory Installs.
* Fix: @timnolte - Fixes to provide proper redirect user back for the openid_connect_generic_auth_url shortcode.

= 3.8.4 =

* Fix: @timnolte - Fixed invalid State object access for redirection handling.
Expand Down