• Resolved dependencyinjection

    (@dependencyinjection)


    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)
  • Confirmed

    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 4 years, 11 months ago by Vincenzo.

    Hello @dependencyinjection, @dadahtml, @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 [email protected] 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

    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');
        }*/

    This problem was fixed for me by simply checking the “Force user to confirm Google permissions every time” setting in Advanced Options.

    Hello @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 [email protected] 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

    thanks @fabriss
    It works ??

    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!

    Hi @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

    Hello @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 [email protected] and we’ll be glad to assist you further.

    Regards!

    Indeed, it’s working now. Thanks @levertechadmin !

    I ran into this issue.

    Authorization Error
    Error 400: redirect_uri_mismatch
    The redirect URI in the request, https://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/…

    Hello @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 [email protected] 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.