Giter Site home page Giter Site logo

dynamic app auth not working about shuffle HOT 3 OPEN

tbi88 avatar tbi88 commented on June 12, 2024
dynamic app auth not working

from shuffle.

Comments (3)

frikky avatar frikky commented on June 12, 2024

Describe the bug The docs state the following for the workflow execution API:

You can add dynamic app authentication when starting a workflow by using the following header: 'appauth'. Example: 'appauth: jira=auth for jira;elasticsearch=elasticsearch auth'. This works both with the name of the auth, and the ID.

I tried that but it seems not to work.

To Reproduce

  1. Create a workflow with an app which has some authenticaiton set.
  2. run the workflow via the API and set the appauth header.
    --> curl -XPOST -H "Authorization: Bearer secret" https://hostname/api/v1/workflows/6e7dc6cc-6cb9-4c32-98b6-3dddbc6738a8/execute -d '{"execution_argument": "test"}' -k -H "appauth: CrowdStrike=test-auth"

Expected behavior appauth header should overwrite configured authentication in the workflow. Instead the workflow execution is run with the configured authentication. Setting no authentication on the node does also not change the behavior.

I wonder whether this could be version based. @0x0elliot could you test out whether dynamic app auth works?

from shuffle.

tbi88 avatar tbi88 commented on June 12, 2024

I verified this works fine now in the latest nightly backend version for API calls. Curently not working for webhooks...

from shuffle.

frikky avatar frikky commented on June 12, 2024

I verified this works fine now in the latest nightly backend version for API calls. Curently not working for webhooks...

Thanks for the feedback!

from shuffle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.