# WordPress + Okta plugin

**URL:** <https://devforum.okta.com/t/wordpress-okta-plugin/3175>\
**Category:** Questions\
**Created:** [October 23, 2018, 7:00pm UTC](https://devforum.okta.com/t/wordpress-okta-plugin/3175 "2018-10-23T19:00:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![synpress](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@synpress](https://devforum.okta.com/u/synpress)\
**Post date:** [October 23, 2018, 7:00pm UTC](https://devforum.okta.com/t/wordpress-okta-plugin/3175/1 "2018-10-23T19:00:58Z")

</div>

I’m trying integrate a dev WordPress instance using the Okta plugin at [https://wordpress.org/plugins/wp-okta-authentication/](https://wordpress.org/plugins/wp-okta-authentication/)

I get either HTTP 500 error – “Cannot create a user with an empty login name.”

Then OKTA comes back with:  
Identity Provider: Unknown  
Error Code: invalid\_client  
Description: Invalid value for ‘client\_id’ parameter.

OR

Notice Undefined index: user\_pass in /wp-includes/user.php on line 1459  
Catchable fatal error: Object of class stdClass could not be converted to string in /wp-includes/formatting.php on line 4669

Seemed the plugin was dropping some data, but after making the config static, I’m getting a better result - portal always says the auth was successful, but the redirect doesn’t appear to be handled properly. Has anyone else tried this particular integration?

---

<div class="post-metadata">

**Author:** ![Eswar](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/eswar/32/3767_2.png) [@Eswar](https://devforum.okta.com/u/Eswar)\
**Post date:** [March 14, 2022, 11:18am UTC](https://devforum.okta.com/t/wordpress-okta-plugin/3175/3 "2022-03-14T11:18:58Z")

</div>

Single Sign-On (SSO) allows one-click secure access to multiple On-Premise and Cloud-Based applications using a single username and password.

As you’re looking to Authenticate WordPress sites with Okta as IdP, you can check this [WordPress Single Sign-On (SSO) plugin](https://wordpress.org/plugins/miniorange-saml-20-single-sign-on/) , which allows seamless Single Sign-On.

Their SSO solution will make WordPress SAML 2.0 compliant Service Provider establishing trust between the WordPress site and Okta to securely authenticate and login users to the WordPress site. Their WordPress Single Sign-On (SSO) solution helps to secure WordPress sites behind the SSO login so that users are authenticated using their Okta login credentials. Seamless support for advanced SSO features like Attribute & Group Mapping, Synchronize WordPress user’s details with Okta login support, Populate Employee information from Okta to WordPress, Intranet SSO / Internet SSO, Mapping the profile picture from Okta to your WordPress avatar, etc.

You can refer to this [link](https://plugins.miniorange.com/saml-single-sign-on-sso-wordpress-using-okta)for more information

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 9:49pm UTC](https://devforum.okta.com/t/wordpress-okta-plugin/3175/4 "2024-02-08T21:49:05Z")

</div>

Closed on February 8, 2024, 9:49pm UTC


