Open thekevinbrown opened 3 years ago
Run into that one as well. Quick workaround: Paste your metadata into a $metadata file and use npx serve .
to serve the local directory. By default npx runs on http://localhost:5000
Hi,
Sorry, must have overlooked this.
You can do this workaround, thank you @RainerAtSpirit for that input. Otherwise I see the request library is deprecated anyway. I'll try to have a look at the issue and provide an update the next weeks.
For now you could try to set the headers with the token manually. The extension uses request.js from npm. A short overview is in the wiki:
https://github.com/apazureck/odatatools/wiki
I'll create two issues here: Support Auth0 / Authentication and support local edmx file. I'll try to implement that in February, but no Promise :)
PR Welcome!
Our Odata service requires OAuth + bearer authentication. I've downloaded the XML file locally already, how can I either get this extension to read it, or go through the OAuth flow then provide a
Bearer
token to the backend?