Bypass Login if authenticated thru ESPOCRM API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stan.riley
    Junior Member
    • Jan 2019
    • 4

    Bypass Login if authenticated thru ESPOCRM API

    Hello,
    Is there a way to bypass the login page if you have already authenticated via the ESPOCRM API? I have written cookies 'auth-token' and 'auth-user' set appropriately for the user with information received from the [domain]/api/v1/App/user request. After I make the call I try to visit the ESPOCRM app and the login is displayed.
    Thanks,
    Stan Riley
  • stan.riley
    Junior Member
    • Jan 2019
    • 4

    #2
    I am answering my own question. Set a variable in local storage named 'espo-user-auth' with the appropriate authentication token string.

    Comment

    Working...