wordpress-ojs-pugin / mu-plugins /
..
README.txt Release 1.2.1: include OIDC well-known MU-plugin in repository. 2 months ago
guitex-oidc-well-known.htaccess-snippet.txt Release 1.2.1: include OIDC well-known MU-plugin in repository. 2 months ago
guitex-oidc-well-known.php Release 1.2.1: include OIDC well-known MU-plugin in repository. 2 months ago
README.txt
Must-use plugins for WP OJS SSO Bridge
======================================

These files are NOT installed via wp-admin → Plugin → Upload.
Copy them manually into wp-content/mu-plugins/ on your WordPress site.

Required for OJS SSO
--------------------
guitex-oidc-well-known.php
  Exposes JWKS and OpenID discovery (REST + optional /.well-known/).
  Required because Automattic OpenID Connect Server does not publish JWKS.

Optional
--------
guitex-oidc-well-known.htaccess-snippet.txt
  Apache rewrite snippet if /.well-known/ returns 404 before WordPress.

Install
-------
mkdir -p wp-content/mu-plugins
cp mu-plugins/guitex-oidc-well-known.php wp-content/mu-plugins/

Verify (should return HTTP 200 JSON):
  https://YOUR-SITE/wp-json/guitex/v1/jwks
  https://YOUR-SITE/wp-json/guitex/v1/openid-configuration

Requires OIDC_PUBLIC_KEY and OIDC_PRIVATE_KEY in wp-config.php.