Announcement

Collapse
No announcement yet.

Outlook outside & Espo inside - how to OAuth?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Outlook outside & Espo inside - how to OAuth?

    We've purchased the outlook plugin but we're struggling to set it up in our envirionment.
    We can't get outlook oauth to work -

    our Outlook server is on outlook.office365.com (public Internet)
    our Espo server is on an internal IP address (not visible from Internet).

    between the two is a Citrix NetScaler that maps the callback URL to the internal Espo server.

    outside request https://my.domain.com/oauth-callback.php
    ----------------------------------------
    NetScaler remaps in/out URLS
    ----------------------------------------
    inside request http://172.20.123.123/oauth-callback.php


    When Espo is configured with the siteUrl 'http://172.20.123.123'
    trying to connect Outlook this returns:
    AADSTS50011: The redirect URI 'http://172.20.123.123/oauth-callback.php' specified in the request does not match the redirect URIs configured for the application

    For testing we changed the Espo siteUrl to 'https://my.domain.com' and we get:
    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 also tried hardcoding the outside url in the various php/js files where oauth-callback was referenced but got the same 'non-matching url' message.

    Can anyone offer suggestions on how we might get the Outlook oauth working in such an environment?


  • #2
    Hi,

    This topic may help you https://forum.espocrm.com/forum/inst...outlook-on-wan

    Comment

    Working...
    X