Skip to content
  • Integrations
  • Third-party tools

Connect Kinde and WordPress

This topic describes how to set up Kinde with WordPress using the OpenID Connect - Generic Client plugin.

Step 1: Install the Plugin

Link to this section
  1. In the WordPress admin area, go to Plugins and select Add New.
  2. Search for OpenID Connect - Generic Client and select Install Now.
  3. Once installed, select Activate.

Step 2: Set up Kinde

Link to this section
  1. Sign in to your Kinde dashboard.
  2. Go to Settings > Applications > [Your App Name] > View Details.
  3. In the Allowed callback URLs field, enter: http://[your_kinde_domain].kinde.com/wp-admin/admin-ajax.php?action=openid-connect-authorize
  4. In the Allowed logout redirect URLs field, enter: http://[your_kinde_domain].kinde.com/
  5. Select Save.

Step 3: Configure the Plugin

Link to this section
  1. In WordPress, go to the Settings page for the plugin.
  2. Set the Scope to openid.
  3. Enter the following details:
    • Client ID: Client ID from your Kinde application
    • Client Secret: Client secret from your Kinde application
    • Login Endpoint URL: https://[your_kinde_domain].kinde.com/oauth2/auth
    • Userinfo Endpoint URL: https://[your_kinde_domain].kinde.com/oauth2/v2/user_profile
    • Token Validation Endpoint URL: https://[your_kinde_domain].kinde.com/oauth2/token
    • End Session Endpoint URL: https://[your_kinde_domain].kinde.com/logout
    • Identity Key: sub
    • Nickname Key: sub

Step 4: Test the configuration

Link to this section

Finally, you should test your configuration to ensure that everything is set up correctly.

  1. Sign in to your WordPress site. This should redirect to Kinde pages.
  2. If everything is set up correctly, you should be able to sign in successfully.