Issues with authentication inside iframe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rober
    Junior Member
    • Jul 2020
    • 13

    Issues with authentication inside iframe

    Hi,

    I'm embbeding my espoCrm instance on a iframe.

    When some user tries to perform login, application responds with 401 status code due to the fact that "auth-token-secret" cookie is being blocked by the browser.

    Does anyone experienced this issue before?

    Thanks.
  • Rober
    Junior Member
    • Jul 2020
    • 13

    #2
    Hi, i managed to get it work changing setSecretInCookie function in application/Espo/Core/Utils/Auth.php.

    Is there a way to make this modification outside of this file in the custom directory?
    Last edited by Rober; 07-31-2020, 12:23 PM.

    Comment

    Working...