Title: Unknown auth controller
Last modified: August 22, 2016

---

# Unknown auth controller

 *  Resolved [pwlarry](https://wordpress.org/support/users/pwlarry/)
 * (@pwlarry)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/)
 * Hi there,
 * I’m getting this when I try and request a cookie with the nonce, username and
   password
 *     ```
       {
       "status": "error",
       "error": "Unknown controller 'auth'."
       }
       ```
   
 * This endpoint is working fine – [http://localhost/api/get_nonce/?controller=auth&method=generate_auth_cookie](http://localhost/api/get_nonce/?controller=auth&method=generate_auth_cookie)
 * And then the request cookie one returns with that error -http://localhost/api/
   auth/generate_auth_cookie/?nonce=f4320f4a67&username=Catherine&password=password-
   here
 * Do you know what might be the issue?
 * Thanks!
 * [https://wordpress.org/plugins/json-api-auth/](https://wordpress.org/plugins/json-api-auth/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/#post-5931184)
 * I think you have not activated the Auth controller in WP Admin > Settings > JSON
   API
 *  Thread Starter [pwlarry](https://wordpress.org/support/users/pwlarry/)
 * (@pwlarry)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/#post-5931185)
 * My bad, just realised that after i wrote it!
 * Thanks for that.
 *  Thread Starter [pwlarry](https://wordpress.org/support/users/pwlarry/)
 * (@pwlarry)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/#post-5931193)
 * Sorry, one more thing. Should the returned cookie be set automatically via the
   set-cookie header? or should it be set manually?
 * cheers
 * dave
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/#post-5931208)
 * you need to set it or provide in the endpoint call. please see the documentation
   int the other Notes tab. [https://wordpress.org/plugins/json-api-auth/other_notes/](https://wordpress.org/plugins/json-api-auth/other_notes/)
 * You may also want to use my other plugin ‘JSON API User’ which has all these 
   endpoints of this plugin and some more.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Unknown auth controller’ is closed to new replies.

 * ![](https://ps.w.org/json-api-auth/assets/icon-256x256.png?rev=1965697)
 * [JSON API Auth](https://wordpress.org/plugins/json-api-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-auth/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/unknown-auth-controller/#post-5931208)
 * Status: resolved