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
And make them available to the plugin as follows (this needs to be added before WordPress loads):
28
+
And make them available to the plugin as below (this needs to be added before WordPress loads). This should be added to the `wp-config.php` file of your WordPress installation. Note, that it is important to add the `define` statements before the line `require_once ABSPATH . 'wp-settings.php';`. Otherwise, your RSA keys might not be visible to the rest of the WordPress website.
Defineyourclientsbyaddingafilterto`oidc_registered_clients`inaseparatepluginfileor`functions.php`ofyourthemeorinaMU-pluginasbelow.TheeasiestwaywouldbetoaddfilterthroughWordPressAdmininterfacebygoingtoAppearance-> Theme file editor -> choose Theme Functions (functions.php) on the right hand side menu. You can add the code to the end of the file before `?>`.
You should be able to go to `https://<your_wordpress_domain>/.well-known/openid-configuration`. This endpoint will list the endpoints of the authorization flow. Namely, three endpoints will be defined:
`wp-json` is where the REST routes are defined for your WordPress website.
76
+
69
77
### Exclude URL from caching
70
78
71
79
-`example.com/wp-json/openid-connect/userinfo`: We implement caching exclusion measures for this endpoint by setting `Cache-Control: 'no-cache'` headers and defining the `DONOTCACHEPAGE` constant. If you have a unique caching configuration, please ensure that you manually exclude this URL from caching.
0 commit comments