Forum Discussion

ctlarson's avatar
ctlarson
New Contributor II
6 years ago

Disabling authentication for outside source trying to post to pipeline

I have an outside source that needs to post to my pipeline and I am wondering if there is a way to remove authentication.
Is there a way to disable authentication for outside sources posting to my pipeline? I have removed the bearer token from my task but that didnt do the trick.
Any help is greatly appreciated.

Thanks!

3 Replies

  • del's avatar
    del
    Contributor III

    Hey Chris,

    I don’t think there’s a way to disable authentication for a pipeline, but if your user can’t use basic auth or add the Bearer token to the HTTP Request Headers, they can append the token to the URL in a query string with a “bearer_token” parameter. Example:

    https://elastic.snaplogic.com/api/.../taskName?bearer_token=ABC123

    • ctlarson's avatar
      ctlarson
      New Contributor II

      This worked perfectly. Thank you very much for your help!

  • Supratim's avatar
    Supratim
    Contributor III

    Hi ctlarson,
    There is no way you can disable authentication, if you remove token then you have to pass userid/password(basic auth) to header.

    One idea might work- create task in groundplex and do ip whitelisting to outside server then they can access this API without any authentication .