Title: Authorization Error
Last modified: April 21, 2020

---

# Authorization Error

 *  Resolved [dependencyinjection](https://wordpress.org/support/users/dependencyinjection/)
 * (@dependencyinjection)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/)
 * Hi!
    Thanks for plugin! We use pro version of plugin, and today we began to receive
 * > Authorization Error
   >  Error 400: invalid_request Invalid parameter value for
   > approval_prompt: ‘auto’ is not valid
 * message on different sites

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

 *  [frenzis73](https://wordpress.org/support/users/dadahtml/)
 * (@dadahtml)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12706731)
 * Confirmed
 *  [Vincenzo](https://wordpress.org/support/users/vinx01/)
 * (@vinx01)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12706859)
 * We are getting the same issue on our production sites.
    It seems something changed
   in the Google API The approval_prompt parameter should be set to null `'approval_prompt'
   => null`
 * As a temporary workaround for your WP users, you can ask them to manually remove
   the `&approval_prompt=auto` parameter from the Google login URL
    -  This reply was modified 6 years ago by [Vincenzo](https://wordpress.org/support/users/vinx01/).
 *  [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * (@levertechadmin)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12707184)
 * Hello [@dependencyinjection](https://wordpress.org/support/users/dependencyinjection/),
   [@dadahtml](https://wordpress.org/support/users/dadahtml/), [@vinx01](https://wordpress.org/support/users/vinx01/)
 * Greetings of the day!
 * Sorry for the inconvenience caused to you and thanks for reporting this error
   to us.
    ​ ​Our development team already updated the plugin and testing team is
   looking into this bug fix.
 * Once testing team finished with the testing we will release a new update for 
   Google Apps Login plugin.
    ​ ​For further clarification or queries please contact
   on [contact@wp-glogin.com](https://wordpress.org/support/topic/authorization-error-11/contact@wp-glogin.com?output_format=md)
   our customer support team will response you within 24 hours in working days. ​​
   I assured you we will release new update as soon as possible. ​ ​Thanks & Regards
 *  [FabriSS](https://wordpress.org/support/users/fabriss/)
 * (@fabriss)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12707197)
 * edit the file `google-apps-login\google-apps-login\core\Google\Auth\OAuth2.php`
   
   commenting on the lines 150-152
 *     ```
           } else {
             $params = $this->maybeAddParam($params, 'approval_prompt');
           }
       ```
   
 * in this way
 *     ```
           } /**else {
             $params = $this->maybeAddParam($params, 'approval_prompt');
           }*/
       ```
   
 *  [karex](https://wordpress.org/support/users/karex/)
 * (@karex)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12707323)
 * This problem was fixed for me by simply checking the “Force user to confirm Google
   permissions every time” setting in Advanced Options.
 *  [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * (@levertechadmin)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12707626)
 * Hello [@fabriss](https://wordpress.org/support/users/fabriss/),
 * Greetings of the day!
 * Thank you for your kind response and feedback.
 * I really appreciate your efforts and thank you for your suggestion.
 * I am more than happy to inform you our development team is already fixed this
   issue and we released update for premium and enterprise version also we planned
   to release update for the free version as soon as possible.
 * ​For further clarification or queries please contact on **[contact@wp-glogin.com](https://wordpress.org/support/topic/authorization-error-11/contact@wp-glogin.com?output_format=md)**
   our customer support team will response you within 24 hours in working days.
   ​​
   I assured you we will release new update as soon as possible. ​ ​Thanks & Regards
 *  [Ivan-M](https://wordpress.org/support/users/ivan-m/)
 * (@ivan-m)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12707683)
 * thanks [@fabriss](https://wordpress.org/support/users/fabriss/)
    It works 🙂
 *  [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * (@levertechadmin)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12708817)
 * Hello,
 * We are happy to update you that the new release for Google Apps Login with version
   3.4 has been released and is available for update.
 * Please update the plugin to fix the Authorization Error.
 * Many thanks for your continued support and trust!
 * Best Regards!
 *  [Elco B](https://wordpress.org/support/users/elco-b/)
 * (@elco-b)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12711002)
 * Hi [@levertechadmin](https://wordpress.org/support/users/levertechadmin/), thanks
   for the fix. Does the fix also apply to the Premium version or isn’t that updated
   yet? Ours still shows version 3.2.5
 * Thanks & regards
 *  [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * (@levertechadmin)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12711226)
 * Hello [@elco-b](https://wordpress.org/support/users/elco-b/) ,
 * Thanks for getting in touch. Yes, we already have released the Premium & Enterprise
   versions which are currently at 3.2.5. As you mentioned that your version is 
   3.2.5 that means your version is already updated and you should not be facing
   any problem in login.
 * If you need any further support on Premium plugin, please contact us at [contact@wp-glogin.com](https://wordpress.org/support/topic/authorization-error-11/contact@wp-glogin.com?output_format=md)
   and we’ll be glad to assist you further.
 * Regards!
 *  [Elco B](https://wordpress.org/support/users/elco-b/)
 * (@elco-b)
 * [6 years ago](https://wordpress.org/support/topic/authorization-error-11/#post-12712036)
 * Indeed, it’s working now. Thanks [@levertechadmin](https://wordpress.org/support/users/levertechadmin/)!
 *  [josephbenton](https://wordpress.org/support/users/josephbenton/)
 * (@josephbenton)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/authorization-error-11/#post-13092388)
 * I ran into this issue.
 * Authorization Error
    Error 400: redirect_uri_mismatch The redirect URI in the
   request, [http://taoofthemind.com/wp-login.php](http://taoofthemind.com/wp-login.php),
   does not match the ones authorized for the OAuth client. To update the authorized
   redirect URIs, visit: [https://console.developers.google.com/apis/credentials/oauthclient/&#8230](https://console.developers.google.com/apis/credentials/oauthclient/&#8230);
 *  [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * (@levertechadmin)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/authorization-error-11/#post-13093411)
 * Hello [@josephbenton](https://wordpress.org/support/users/josephbenton/)
 * Greetings of the day!
 * Thank you for contacting us with your concern. I am more than happy to assist
   you in this matter.
 * Thank you for sharing error message **redirect_uri_mismatch** this error only
   through when you missed to configure or forgot to write the OAuth redirect URL
   in your created google console project.
 * Please login to your google console select the configured project and go to the
   credentials tab.
 * You will see your created OAuth 2.0 Client IDs if multiples OAuth 2.0 Client 
   IDs available edit your configured one in google apps login.
 * and check the redirect URL enter the proper redirect URL your redirect URL must
   be like “{your-site-url.domain/wp-login.com}”.
 * Once you have done these changes the redirect issue will be resolve.
 * If you need further clarification or if you need any technical issue to investigate
   it further and get it to resolve please forward your concern to [contact@wp-glogin.com](https://wordpress.org/support/topic/authorization-error-11/contact@wp-glogin.com?output_format=md)
   our technical team will revert to within 24 hours in working days
 * Thanks

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

The topic ‘Authorization Error’ is closed to new replies.

 * ![](https://ps.w.org/google-apps-login/assets/icon-256x256.png?rev=2834114)
 * [Login for Google Apps](https://wordpress.org/plugins/google-apps-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-apps-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-apps-login/)
 * [Active Topics](https://wordpress.org/support/plugin/google-apps-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-apps-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-apps-login/reviews/)

## Tags

 * [authorization](https://wordpress.org/support/topic-tag/authorization/)

 * 13 replies
 * 9 participants
 * Last reply from: [levertechadmin](https://wordpress.org/support/users/levertechadmin/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/authorization-error-11/#post-13093411)
 * Status: resolved