This topic describes how to set up Kinde with WordPress using the OpenID Connect - Generic Client
plugin.
- In the WordPress admin area, go to Plugins and select Add New.
- Search for
OpenID Connect - Generic Client
and select Install Now.
- Once installed, select Activate.
- Sign in to your Kinde dashboard.
- Go to Settings > Applications > [Your App Name] > View Details.
- In the Allowed callback URLs field, enter:
http://[your_kinde_domain].kinde.com/wp-admin/admin-ajax.php?action=openid-connect-authorize
- In the Allowed logout redirect URLs field, enter:
http://[your_kinde_domain].kinde.com/
- Select Save.
- In WordPress, go to the Settings page for the plugin.
- Set the Scope to openid.
- 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
Finally, you should test your configuration to ensure that everything is set up correctly.
- Sign in to your WordPress site. This should redirect to Kinde pages.
- If everything is set up correctly, you should be able to sign in successfully.