Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SAP-Connectivity-Technical-Authentication header #2974

Open
gregorwolf opened this issue Oct 18, 2022 · 10 comments
Open

Support for SAP-Connectivity-Technical-Authentication header #2974

gregorwolf opened this issue Oct 18, 2022 · 10 comments
Labels
feature request Requests for new functionality

Comments

@gregorwolf
Copy link

Is your feature request related to a problem? Please describe.

The release 2.15.0 of SAP Cloud connector adds a new Authentication Type - Technical User Propagation. It can be used by setting the HTTP Header SAP-Connectivity-Technical-Authentication instead of the SAP-Connectivity-Authentication header which is already supported in the SAP Cloud SDK.

Describe the solution you'd like

Provide a possibility to decide on a by request level if either SAP-Connectivity-Technical-Authentication or SAP-Connectivity-Authentication should be sent.

Impact / Priority

Affected development phase: Production

Impact: Inconvenience

Additional context

Getting support for the Technical User Propagation would allow us to get rid of destinations using basic authentication which we currently need to use when our CAP endpoint is called by the Job Scheduling service.

@gregorwolf gregorwolf added the feature request Requests for new functionality label Oct 18, 2022
@newtork
Copy link

newtork commented Oct 19, 2022

Provide a possibility to decide on a by request level if either SAP-Connectivity-Technical-Authentication or SAP-Connectivity-Authentication should be sent.

How would you differentiate when to use one over the other? What information would need to be present at runtime?
Where is the technical user token coming from at runtime?

@FrankEssenberger
Copy link
Contributor

One way would be that the destination service offers something as a sub-option when PrincipalPropagation is chosen. However, as long this is not there I also do not see a good way. I would not like to use some destination property for that. I will reach out to the destination service colleagues.

@manolvalchev
Copy link

This feature is being released in a step-wise approach. First in cloud connector, then in Destination service, etc. Kindly be patient, and stay tuned watching the What's New for SAP Business Technology Platform - Connectivity

@gregorwolf
Copy link
Author

Thank you @manolvalchev is the rollout also in some roadmap?

@FrankEssenberger
Copy link
Contributor

Once we have the feature available on our internal cloud foundry and destination service instance we will start the implementation from the SDK side.

@FrankEssenberger FrankEssenberger added the blocked Issues that require async communication or are blocked by external factors label Oct 20, 2022
@manolvalchev
Copy link

Thank you @manolvalchev is the rollout also in some roadmap?

@gregorwolf, not yet - perhaps in future

@gregorwolf
Copy link
Author

The blog post Technical User Propagation – SAP BTP To S4 On Premise provides now an example on how:

  • the access_token is retrieved using the connectivity credentials from the XSUAA Token endpoint
  • this token is added to the backend request

What is the status regarding the destination configuration?

@manolvalchev
Copy link

manolvalchev commented Dec 22, 2022

@gregorwolf , as for modelling/managing a destination configuration of that auth type, it's already rolled out: check the official docu.

@FrankEssenberger
Copy link
Contributor

Then I will remove the blocked label and increase priority in our backlog for this ticket so that we will support this also from the SDK side.

@FrankEssenberger FrankEssenberger removed the blocked Issues that require async communication or are blocked by external factors label Dec 23, 2022
@Showkath
Copy link

Hi @FrankEssenberger , @jjtang1985 ,

As reported by @gregorwolf, I would like to add my votes for this issue.Need support for Technical User Propagation. Eliminating basic authentication and hard-coded credentials is crucial for enhancing security, especially when interacting with SAP Backend Onpremise systems. This feature complements overall security practices, and its implementation is vital for our project. Your prioritization would greatly expedite progress.

Thanks,
Showkath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new functionality
Projects
None yet
Development

No branches or pull requests

5 participants