cloud-sdk icon indicating copy to clipboard operation
cloud-sdk copied to clipboard

Support OAuth2 Authentication with tokenServiceURLType = Common

Open erictangsapcom opened this issue 2 years ago • 2 comments

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

erictangsapcom avatar Mar 10 '22 03:03 erictangsapcom

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

newtork avatar Mar 10 '22 22:03 newtork

Hi Alexander

No hurry,the workaround works fine at current.

Regards, Eric

erictangsapcom avatar Mar 11 '22 01:03 erictangsapcom