Title: OpenID Connect Server
Author: Automattic
Published: <strong>اکتوبر 31, 2022</strong>
Last modified: ستمبر 17, 2026

---

پلگ ان ڳولو

![](https://s.w.org/plugins/geopattern-icon/openid-connect-server.svg)

# OpenID Connect Server

 [Automattic](https://profiles.wordpress.org/automattic/) کنوں

[ڈاؤن لوڈ](https://downloads.wordpress.org/plugin/openid-connect-server.2.0.3.zip)

 * [تفصیلاں](https://skr.wordpress.org/plugins/openid-connect-server/#description)
 * [ریویو](https://skr.wordpress.org/plugins/openid-connect-server/#reviews)
 * [ڈیویلپمنٹ ](https://skr.wordpress.org/plugins/openid-connect-server/#developers)

 [معاونت](https://wordpress.org/support/plugin/openid-connect-server/)

## تفصیل

With this plugin you can use your own WordPress install to authenticate with a webservice
that provides [OpenID Connect](https://openid.net/connect/) to implement Single-
Sign On (SSO) for your users.

The plugin is currently only configured using constants and hooks as follows:

### Define the RSA keys

If you don’t have keys that you want to use yet, generate them using these commands:

    ```
    openssl genrsa -out oidc.key 4096
    openssl rsa -in oidc.key -pubout -out public.key
    ```

And make them available to the plugin as follows (this needs to be added before 
WordPress loads):

    ```
    define( 'OIDC_PUBLIC_KEY', <<<OIDC_PUBLIC_KEY
    -----BEGIN PUBLIC KEY-----
    ...
    -----END PUBLIC KEY-----
    OIDC_PUBLIC_KEY
    );

    define( 'OIDC_PRIVATE_KEY', <<<OIDC_PRIVATE_KEY
    -----BEGIN PRIVATE KEY-----
    ...
    -----END PRIVATE KEY-----
    OIDC_PRIVATE_KEY
    );
    ```

Alternatively, you can also put them outside the webroot and load them from the 
files like this:

    ```
    define( 'OIDC_PRIVATE_KEY', file_get_contents( '/web-inaccessible/oidc.key' ) );
    define( 'OIDC_PUBLIC_KEY', file_get_contents( '/web-inaccessible/public.key' ) );
    ```

### Define the clients

Define your clients by adding a filter to `oidc_registered_clients` in a separate
plugin file or `functions.php` of your theme or in a MU-plugin like:

    ```
    add_filter( 'oidc_registered_clients', 'my_oidc_clients' );
    function my_oidc_clients() {
        return array(
            'client_id_random_string' => array(
                'name' => 'The name of the Client',
                'secret' => 'a secret string',
                'redirect_uri' => 'https://example.com/redirect.uri',
                'grant_types' => array( 'authorization_code' ),
                'scope' => 'openid profile',
            ),
        );
    }
    ```

### Exclude URL from caching

 * `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.

### Github Repo

You can report any issues you encounter directly on [Github repo: Automattic/wp-openid-connect-server](https://github.com/Automattic/wp-openid-connect-server)

## ریویو

There are no reviews for this plugin.

## Contributors & Developers

“OpenID Connect Server” is open source software. The following people have contributed
to this plugin.

حصہ پاوݨ آلے

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Alex Kirk ](https://profiles.wordpress.org/akirk/)
 *   [ Ashish Kumar (Ashfame) ](https://profiles.wordpress.org/ashfame/)
 *   [ Paulo Pinto ](https://profiles.wordpress.org/psrpinto/)

“OpenID Connect Server” has been translated into 4 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/openid-connect-server/contributors)
for their contributions.

[ “OpenID Connect Server&#8221 دا آپݨی زبان وچ ترجمہ کرو۔](https://translate.wordpress.org/projects/wp-plugins/openid-connect-server)

### ڈیویلپمنٹ وچ دلچسپی ہے؟

[Browse the code](https://plugins.trac.wordpress.org/browser/openid-connect-server/),
check out the [SVN repository](https://plugins.svn.wordpress.org/openid-connect-server/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/openid-connect-server/)
by [RSS](https://plugins.trac.wordpress.org/log/openid-connect-server/?limit=100&mode=stop_on_copy&format=rss).

## تبدیلی لاگ

### 2.0.3

 * Align plugin version metadata with the published release version. No code changes
   since 2.0.2.

### 2.0.2

 * No code changes since 2.0.1.

### 2.0.1

 * Reject invalid JWT algorithm values in access tokens [#136](https://github.com/Automattic/wp-openid-connect-server/pull/136).
 * Handle a null return from `wp_parse_url()` [#130](https://github.com/Automattic/wp-openid-connect-server/pull/130).
 * Update the documentation and WordPress compatibility information [#123](https://github.com/Automattic/wp-openid-connect-server/pull/123),
   [#125](https://github.com/Automattic/wp-openid-connect-server/pull/125).
 * Fix the WordPress.org deployment workflow’s SVN installation [#121](https://github.com/Automattic/wp-openid-connect-server/pull/121)
   and pin third-party GitHub Actions [#133](https://github.com/Automattic/wp-openid-connect-server/pull/133).

### 2.0.0

 * [Breaking] Add a configuration option to support clients that don’t require consent
   [#118](https://github.com/Automattic/wp-openid-connect-server/pull/118) props@
   lart2150
 * Make client_id and client_secret optional for the token endpoint [#116](https://github.com/Automattic/wp-openid-connect-server/pull/116)
   props @lart2150
 * Update expected args specs for token endpoint as per OIDC spec [#117](https://github.com/Automattic/wp-openid-connect-server/pull/117)

### 1.3.4

 * Add the autoloader to the uninstall script [#111](https://github.com/Automattic/wp-openid-connect-server/pull/111)
   props @MariaMozgunova

### 1.3.3

 * Fix failing login when Authorize form is non-English [[#108](https://github.com/Automattic/wp-openid-connect-server/pull/108)]
 * Improvements in site health tests for key detection [[#104](https://github.com/Automattic/wp-openid-connect-server/pull/104)][
   [#105](https://github.com/Automattic/wp-openid-connect-server/pull/105)]

### 1.3.2

 * Prevent userinfo endpoint from being cached [[#99](https://github.com/Automattic/wp-openid-connect-server/pull/99)]

### 1.3.0

 * Return `display_name` as the `name` property [[#87](https://github.com/Automattic/wp-openid-connect-server/pull/87)]
 * Change text domain to `openid-connect-server`, instead of `wp-openid-connect-
   server` [[#88](https://github.com/Automattic/wp-openid-connect-server/pull/88)]

### 1.2.1

 * No user facing changes

### 1.2.0

 * Add `oidc_user_claims` filter [[#82](https://github.com/Automattic/wp-openid-connect-server/pull/82)]

## میٹا

 *  Version **2.0.3**
 *  Last updated **3 ہفتے پہلے**
 *  Active installations **200+**
 *  WordPress version ** 6.0 یا ودھ **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 یا ودھ **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/openid-connect-server/), 
   [English (US)](https://wordpress.org/plugins/openid-connect-server/), [German](https://de.wordpress.org/plugins/openid-connect-server/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/openid-connect-server/)، تے
   [Spanish (Spain)](https://es.wordpress.org/plugins/openid-connect-server/).
 *  [آپݨی زبان وچ ترجمہ کرو](https://translate.wordpress.org/projects/wp-plugins/openid-connect-server)
 * Tags
 * [oauth](https://skr.wordpress.org/plugins/tags/oauth/)[oauth server](https://skr.wordpress.org/plugins/tags/oauth-server/)
   [oidc](https://skr.wordpress.org/plugins/tags/oidc/)[OpenID](https://skr.wordpress.org/plugins/tags/openid/)
   [openid connect](https://skr.wordpress.org/plugins/tags/openid-connect/)
 *  [اعلیٰ منظر](https://skr.wordpress.org/plugins/openid-connect-server/advanced/)

## ریٹنگ

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/openid-connect-server/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/openid-connect-server/reviews/)

## حصہ پاوݨ آلے

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Alex Kirk ](https://profiles.wordpress.org/akirk/)
 *   [ Ashish Kumar (Ashfame) ](https://profiles.wordpress.org/ashfame/)
 *   [ Paulo Pinto ](https://profiles.wordpress.org/psrpinto/)

## معاونت

Got something to say? Need help?

 [معاونت فورم ݙیکھو](https://wordpress.org/support/plugin/openid-connect-server/)