You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add configurable issuer setting for JWT validation (#639)
Fixes issuer mismatch errors when the IDP's issuer differs from the
login endpoint base URL. The issuer can be configured via the Issuer
setting, OIDC_ISSUER constant, or auto-populated from discovery
documents. Defaults to deriving from endpoint_login for backward
compatibility.
* 3.11.3
* Log issuer mismatch details for admins to fix the problem
* Release 3.11.3 version bump and tasks
'Issuer mismatch - Expected: "%s", Received: "%s". Configure the correct issuer in Settings > OpenID Connect Client > Issuer field, or via the OIDC_ISSUER constant.',
'Issuer mismatch - Expected: "%s", Received: "%s". Configure the correct issuer in Settings > OpenID Connect Client > Issuer field, or via the OIDC_ISSUER constant.',
234
+
$this->issuer,
235
+
$decoded_jwt->iss
236
+
),
237
+
'issuer-mismatch'
238
+
);
231
239
returnnewWP_Error(
232
240
'invalid-iss',
233
241
__( 'Token issuer does not match expected issuer.', 'daggerhart-openid-connect-generic' )
'description' => __( 'Identity provider issuer URL for JWT validation. If not set, the issuer will be automatically derived from the Login Endpoint URL. Only configure this if your IDP uses a different issuer than the base URL of the login endpoint.', 'daggerhart-openid-connect-generic' ),
0 commit comments