Announcement

Collapse
No announcement yet.

Custom EntryPoint with Authentication

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

  • Custom EntryPoint with Authentication

    Is there any possibility that I could pass in an API user key as part of the query string for a custom EntryPoint and allow the request which follows to be authenticated?

    I am implementing an iCAL feed via a custom EntryPoint.

    So far, the user has to be logged into EspoCRM in order to generate this feed but it would be nice to pass the API user key as part of the query string so that authentication and restrictions can be applied regardless of whether a user is logged in.

  • #2
    did you tried with this

    public static $authRequired = true;
    CEO & Founder of Eblasoft.
    Professional EspoCRM development & extensions.

    Comment


    • #3
      eymen-elkum In which file? The custom EntryPoint PHP file? Would simply setting `$authRequired = false` be enough?

      Comment


      • #4
        eymen-elkum Sorry, ignore my question. Adding $authRequired = false; works beautifully!

        Thank you for the hint.

        Comment

        Working...
        X