Skip to content

Use Value of additional property origion in destination to fill query parameter login_hint to token endpoint #6211

@gregorwolf

Description

@gregorwolf

Describe the Problem

I want to use a destination to the BTP Cloud Foundry API that uses a users created in the customer IAS. But using SAP Cloud SDK JS doesn't support the Additional Parameter origin that is used for example in Creating Destinations Using SAP Cloud Deployment Service with OAuth2Password Authentication.

Propose a Solution

Respect the Additional Parameter origin and fill the request to the token endpoint with the additional query parameter "login_hint" as in this example:

https://github.com/gregorwolf/bookshop-demo/blob/main/tests/cloud-foundry.http#L20

Describe Alternatives

Right now I can't use the destination retrieved by SAP Cloud SDK. I have to build the destination object for executeHttpRequest and implement the token retrival manually.

Affected Development Phase

Development

Impact

Inconvenience

Timeline

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions