Title: Invalid authorization code
Last modified: February 6, 2017

---

# Invalid authorization code

 *  [weril](https://wordpress.org/support/users/weril/)
 * (@weril)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/)
 * Hi,
 * After updating auth0 plugin from 3.2.7 to 3.2.15/3.2.16 via internal plugin updater
   I encounter that error:
    02/06/2017 14:16:04 init_auth0_oauth/token invalid_grant
   Invalid authorization code
 * I rolled back version of the plugin to fix it.
    How can I update plugin correctly?
   Thx

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

 *  [truejay](https://wordpress.org/support/users/truejay/)
 * (@truejay)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8752904)
 * I’m getting the same problem here! After update, I’m getting: domain.com/?message
   =Invalidauthorizationcode
 *  [pjbarry21](https://wordpress.org/support/users/pjbarry21/)
 * (@pjbarry21)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8804357)
 * Just ran into this with 3.2.16 and I changed one setting that seems to have fixed
   it.
 * In your WP site, go to Auth0 > Settings > Basic and just below the Client Secret
   key field, there’s a “Client Secret Base64 Encoded” option. I turned that off
   and it worked. This option doesn’t exist (at least I don’t see it in the same
   place) in older versions of the Auth0 plugin.
 * When I checked in my Auth0 account, some of my clients said they were encoded,
   some said they weren’t. I don’t see where I can make that change. But the site
   having the problem was a site/client I just set up and had the new version of
   the plugin.
    -  This reply was modified 9 years, 3 months ago by [pjbarry21](https://wordpress.org/support/users/pjbarry21/).
 *  Thread Starter [weril](https://wordpress.org/support/users/weril/)
 * (@weril)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8804555)
 * Unfortunately, this solution (uncheck “Client Secret Base64 Encoded” option) 
   does not work in my case.
 *  [pjbarry21](https://wordpress.org/support/users/pjbarry21/)
 * (@pjbarry21)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8804581)
 * Sorry to hear that. Good luck.
 *  [Scott Buckingham](https://wordpress.org/support/users/scottbuckingham/)
 * (@scottbuckingham)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8809725)
 * Hi guys,
    We’re experiencing the same – has anyone found a resolution to this?
 *  [whatmatrix](https://wordpress.org/support/users/whatmatrix/)
 * (@whatmatrix)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8817564)
 * same here – any suggestions? txs!
 *  [progressivetech](https://wordpress.org/support/users/progressivetech/)
 * (@progressivetech)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8935247)
 * Hi,
 * Suddenly started experiencing the same issue today. Did anyone manage to solve
   this?
 * Thanks.

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

The topic ‘Invalid authorization code’ is closed to new replies.

 * ![](https://ps.w.org/auth0/assets/icon-256x256.png?rev=3351758)
 * [Login by Auth0](https://wordpress.org/plugins/auth0/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auth0/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auth0/)
 * [Active Topics](https://wordpress.org/support/plugin/auth0/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auth0/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auth0/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [progressivetech](https://wordpress.org/support/users/progressivetech/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/invalid-authorization-code/#post-8935247)
 * Status: not resolved