Data-Science-Extensions icon indicating copy to clipboard operation
Data-Science-Extensions copied to clipboard

Does the published jar in releases include oathToken support?

Open capitanou opened this issue 3 years ago • 2 comments

Deployed the jar in releases but when using the oathToken header option Authentication is still failing.

Here's example params

prmsSoda = { 'url' : sodauri, 'input' : 'sodainputtbl', 'method' : 'GET', 'readTimeout' : '10000', 'connectionTimeout' : '2000', 'partitions' : '2', 'oauthToken' : token }

Could you publish a new jar file?

Also, could you build for spark 2.12?

capitanou avatar May 27 '21 03:05 capitanou

@capitanou It does not supoort oauthToken as of now.

Not sure whether I wud be able to support Spark 2.12. But may directly go for Spark 3.0.

If u want u may fork and release a support Spark 2.12. I can help u validating the same.

sourav-mazumder avatar May 27 '21 04:05 sourav-mazumder

Thanks for the quick response. Sounds like the docs are slightly out of date as the README has a section below.

oauthToken : This can be used for bearer token based authorization. This is the value for the Authorization key passed in the HEADER. So you can pass Bearer <<access_token>> as its value.

Abhisek Mandal committed on May 20, 2019: "added bearer token auth support; added json object payload support"

Was this update not completed?

Any guidance on creating a working build environment? Believe this goes a little beyond my experience and expertise

capitanou avatar May 27 '21 11:05 capitanou