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 OAuth2 Authentication with tokenServiceURLType = Common #728

Open
erictangsapcom opened this issue Mar 10, 2022 · 2 comments
Open
Labels
feature request Java Related to documentation on the SAP Cloud SDK for Java

Comments

@erictangsapcom
Copy link

Hi,

we have multitenant apps running both java and nodejs, both cloudsdk java and js are used.
we need to use the destination with tokenServiceURLType = Common, then there is no need to configure the destination in consumer account, here is the destination configure details for tokenServiceURLType = Common,Destination with OAuth Client Credentials Authentication

the cloudsdk-js has support this feature, but sdk-java does not support yet. at current, I made a AspectJ in cloud-sdk to pass the X-tenant to destination service when need.

here is the cloudsdk-js feature of supporting x-tenant details Fix missing x user token header

Regards,
Eric

@newtork
Copy link
Contributor

newtork commented Mar 10, 2022

Hi Eric,
Thanks for your message! We'll add this as feature request to our backlog. Please let me know in case you want us to meet a certain deadline on this feature. But considering you already have a functional workaround, that won't be necessary, right? Anyway you will be notified of our progress as part of this issue thread.
Kind regards
Alexander

@erictangsapcom
Copy link
Author

Hi Alexander

No hurry,the workaround works fine at current.

Regards,
Eric

@marikaner marikaner added the Java Related to documentation on the SAP Cloud SDK for Java label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Java Related to documentation on the SAP Cloud SDK for Java
Projects
None yet
Development

No branches or pull requests

3 participants