janhommes / o.js

o.js - client side oData lib.
https://janhommes.github.io/o.js/example/
MIT License
238 stars 57 forks source link

Any oauth examples #112

Closed nafwa03 closed 3 years ago

nafwa03 commented 4 years ago

I just found this package and am liking it a lot. I read on one of the issues mentioning one of the oauth examples. Where can I find that?

janhommes commented 4 years ago

Glad that you like it. Not sure which issue you mean, but in general this lib has nothing todo with OAuth. OAuth is mostly handled via cookies (or headers). You can set headers in the options, but most properly you don't need to, as when http-only cookies are used, they are attached to each request automatically.

Sorry, if you have some more concrete questions, I might be able to help you.