# Invalid request - new plugin installation and setup

**URL:** <https://meta.discourse.org/t/invalid-request-new-plugin-installation-and-setup/56414>\
**Category:** WordPress\
**Created:** [January 26, 2017, 8:03pm UTC](https://meta.discourse.org/t/invalid-request-new-plugin-installation-and-setup/56414 "2017-01-26T20:03:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Oilsgift](https://avatars.discourse-cdn.com/v4/letter/o/bc79bd/32.png) [@Oilsgift](https://meta.discourse.org/u/Oilsgift)\
**Post date:** [January 29, 2019, 4:20am UTC](https://meta.discourse.org/t/invalid-request-new-plugin-installation-and-setup/56414/4 "2019-01-29T04:20:26Z")

</div>

I would just like to add to this, I was having the same exact issue as @homebrewhops with the sso redirecting to login page, and after logging in seeing “invalid request” In my case however., I did not have a mismatched secret. The secret I was using was: DT\>ZMF7a6Q$WesK . The Wordpress discourse plugin specifies:

The secret key used to verify [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) requests. Set it to a string of text, at least 10 characters long. It needs to match the key set at [https://forum.oilsgift.com/admin/site\_settings/category/all\_results?filter=sso](https://forum.oilsgift.com/admin/site_settings/category/all_results?filter=sso).

one or several of the characters used in my SSO Secret Key was causing the error. So do make sure that it is a “string of text” as specified, also numbers did work for me, so just the special characters should be avoided.

The PrimeTime WordPress + [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) plugin had no problem authenticating with this same SSO key, so I’m certain the ability to use special characters could be implemented into the official Discourse App.

Anyway I hope this may help someone that is having trouble as I did and can save you some time. Good Luck.

---

_[View the full topic](https://meta.discourse.org/t/invalid-request-new-plugin-installation-and-setup/56414)._
