jaydata icon indicating copy to clipboard operation
jaydata copied to clipboard

Need an 'appendBearerAuth' on WebApiProvider and oDataProvider

Open SteRichardson opened this issue 11 years ago • 3 comments

Currently only 'Basic' Authorization headers are supported, using 'appendBasicAuth'.

In order to support 'Bearer' authorization for use with OAuth, a new 'appendBearerAuth' method needs to be created, and used where applicable.

Regards, Stephen Richardson

SteRichardson avatar Dec 02 '13 16:12 SteRichardson

:+1:

kildem avatar Aug 19 '14 16:08 kildem

Is there a workaround for this?

Dagur avatar Apr 17 '16 10:04 Dagur

@Dagur as a workaround, you can use the prepareRequest method: http://stackoverflow.com/questions/21689832/jaydata-odata-request-with-custom-headers-round-2 https://disqus.com/home/discussion/jaydata/super_easy_authentication_and_authorization_with_odata_server/

Malyngo avatar Apr 18 '16 05:04 Malyngo