Google calendar sync - non-public domain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LQS
    Junior Member
    • Jun 2016
    • 1

    Google calendar sync - non-public domain

    Hello,
    we're using Espo at local webserver in the network wit access from local computers or through VPN. I would like to add google calendar sync possibility from advanced pack. I followed your instructions here http://www.espocrm.com/features/google-calendar-sync/ but it doesn't work. Problem is that Authorized JavaScript origins and Authorized redirect URIs must be public. I don't know how to handle it, because in the grey field in the Integration/cal sync/URI redirect I have a local address.

    Thanks in advance for any advices ...
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    Google doesn't support non-public domains. Only localhost (for developers).
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • EmaG
      Junior Member
      • Mar 2017
      • 12

      #3
      Hi Yuri,
      You suggest me to use xip.io to do synch without public domain.

      I found xip.io and nip.io but I don't understand how to use it.

      Thanks

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Hello
        Hope this helps https://stackoverflow.com/questions/...end-with-a-pub

        Comment

        • EmaG
          Junior Member
          • Mar 2017
          • 12

          #5
          thank you Tania,

          is very simple :-)
          xx.xxx.xxx.xxx.nip.io:8080/espocrm/

          I have now CLIENT ID and CLIENT SECRET

          BUT

          I can't edit the REDIRECT URL
          so when I go to connect Google give me ERROR 400




          [QUOTE]
          Error: invalid_request
          Invalid parameter value for redirect_uri: Raw IP addresses not allowed:
          http://xx.xxx.xxx.xxx:8080/espocrm?e...=oauthCallback
          [QUOTE]

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            You can change siteURL in Administatration > Settings (from xx.xxx.xxx.xxx:8080 to xx.xxx.xxx.xxx.nip.io:8080)
            Everything should work.

            Comment

            • EmaG
              Junior Member
              • Mar 2017
              • 12

              #7
              that careless :-)

              now gave me:

              EspoCRM rocks !!!

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                Congratulations!

                Comment

                • EmaG
                  Junior Member
                  • Mar 2017
                  • 12

                  #9
                  but but...
                  I have no GREEN colour on CONNECTION

                  and I can't choose the DIRECTION (two way in my case)

                  :-(

                  EDIT
                  Works
                  Last edited by EmaG; 03-24-2017, 03:16 PM.

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #10
                    Did you enable API's?

                    Comment

                    • EmaG
                      Junior Member
                      • Mar 2017
                      • 12

                      #11
                      Now works

                      Comment

                      • Syn Gates
                        Junior Member
                        • Apr 2017
                        • 5

                        #12
                        Can I do the same to sync with other Google Applications?

                        Comment

                        • tanya
                          Senior Member
                          • Jun 2014
                          • 4308

                          #13
                          For Advanced Pack contains only Contacts and Calendar synchronization. But you can develop what you want

                          Comment


                          • Syn Gates
                            Syn Gates commented
                            Editing a comment
                            Thanks a lot! Tanya.
                        • EmaG
                          Junior Member
                          • Mar 2017
                          • 12

                          #14
                          Hi,
                          after long time I can't synch my google calendar..

                          He give me: ERR_CONNECTION_REFUSED
                          thanks

                          Comment

                          • yuri
                            Member
                            • Mar 2014
                            • 8440

                            #15
                            Hi,

                            Anything else in log? Did you try to re-connect in external account?
                            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                            Comment

                            Working...