Skip to Content

SCP Workflow with OAuth2 Credentials in NEO Environment


we are trying to get OAuth2 Credentials from an AWS Cognito Service using a SCP Workflow in the NEO Environment. If we call the Destination using the "OAuth2ClientCredentials" as Authentication we get an Error saying, that this type of authentication is not supported.

We already tried to set up two destinations: Both using BasicAuthentication and the first one has the additional property "bpm.oauth.token.destination" which points to the other. User and password are Client ID and Client Secret. The result is an HTTP status code 405 (Method Not Allowed).

Is there any way or idea how to get this working?

Thanks in advance!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 15, 2019 at 01:02 PM

    Problem solved: The AWS Cognito Service does not accept the HTTP-Header "application/json" which SCP sends, instead expects an "application/x-www-urlencoded" Header.

    Another question related to that: Is there any way telling the destination in this environment to change the header to "application/x-www-urlencoded"? At the moment we're doing this with an API Gateway which changes the header.

    Thanks in advance!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2019 at 08:58 AM

    Hello David,

    good news - adding or changing HTTP headers when executing Service tasks is indeed on our roadmap, currently planned for end of Q4 2019. Stay tuned.

    Best regards,
    Krassimir Kondarev
    SCP Workflow Product Management

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.