Google Integration: "?entryPoint=oauthCallback" not result

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ThomasW
    Junior Member
    • Apr 2022
    • 8

    Google Integration: "?entryPoint=oauthCallback" not result

    In admin Integration I setup the integration with Google using Client ID and Client Secret obtained from Google Console.

    But the redirect URL is gives me always the message in the browser "If this window is not closed automatically, it's probable that URL you use to access EspoCRM doesn't match URL specified at Administration > Settings > Site URL" but it is the same like under these settings.

    I tried different setting for the URL (localhost, fakeURL, xxx.xxx.xxx.xxx.nip.io) but even the ending with "?entryPoint=oauthCallback" gives me no result nor the redirect URL by the google console connect me to google
    Any idea what setting is missing or wrong?

    Thanks for your help in advance
  • lazovic
    Super Moderator
    • Jan 2022
    • 810

    #2
    Hi ThomasW,

    It is often possible to confuse Client ID and Client Secret. Please double check that the entered data is correct. If that doesn't help, try creating a new Client ID.

    Also, please tell me if there are any errors in the EspoCRM log (data/logs)?

    Comment

    • ThomasW
      Junior Member
      • Apr 2022
      • 8

      #3
      Hi Lazovic,

      One question: When I work as localhost and put the address: "localhost/espo?entryPoint=oauthCallback" in a browser, which website should pop up?
      (espo is the folder of espocrm)

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 810

        #4
        ThomasW,

        If you paste this link into your browser, you will only see this message:

        If this window is not closed automatically, it's probable that URL you use to access EspoCRM doesn't match URL specified at Administration > Settings > Site URL.

        I just tried to reproduce your problem.
        I have EspoCRM v7.1.5 and Google Integration extension v1.5.4. Everything works from the first try, my instance is on localhost/espocrm.

        Comment

        • lazovic
          Super Moderator
          • Jan 2022
          • 810

          #5
          ThomasW,

          In the Administration > Settings, Site URL http://localhost/espo must be specified.

          In the Administration > Integrations > Google, data must be entered in the following format:
          Client ID: 247389239956-643qhс...
          Client Secret: GOCSPX-w5U...

          In the Google Cloud Platform > APIs & Services > Credentials > OAuth 2.0 Client IDs > Your Client ID must be an Authorized redirect URL such as http://localhost/espo?entryPoint=oauthCallback.

          Comment

          • item
            Active Community Member
            • Mar 2017
            • 1476

            #6
            For information to know :

            office365 accept only HTTPS and localhost.
            so your production espoCRM must be on httpS
            If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

            Comment

            Working...