gregorwolf / hanatrial-auth-proxy

SAP HANA Cloud Authentication Proxy for HANA XS
Apache License 2.0
22 stars 8 forks source link

options.uri is a required argument #18

Closed jojeda10 closed 8 years ago

jojeda10 commented 8 years ago

Hello Gregor,

Unfortunately I cannot change the status of this closed incident. I'm opening this one with a reference to issue #17

I’ve installed your proxy on Node.js 6.2.0 (x64) in Windows 10. Following Simmaco’s post I’ve created a couple of tables and a related OData service in Hana XS of my HCP Trial account.

It works well under URL https://devs0005549254trial.hanatrial.ondemand.com/s0005549254trial/dev/myproducts/services.xsodata/$metadata

1

I changed the config.js file to set my host 2

I can then start the proxy in Node.js console 3

But when I call the URL the browser hangs and the console displays following

http://localhost:7891/s0005549254trial/dev/myproducts/services.xsodata/$metadata

4

If I console log the URL used in options in hana_saml.js I see action reaches as undefined 3b

5 Unfortunately I cannot figure out from where that comes…

Thanks a lot for having a look at this. Please do not hesitate to ask me if you need any other detail to reproduce this scenario.

Best Regards, Jaime

gregorwolf commented 8 years ago

Hi Jamie,

you don't need the hanatrial-auth-proxy when you're using the HANA MDC (). You only need it when using HANA XS (). With the MDC you should be able to set Basic authentication as documented here Application-Access File Keyword Options.

Best regards Gregor

jojeda10 commented 8 years ago

Hi Gregor,

You are completely right. I was mistaken thinking the hanatrial-auth-proxy is still necessay when using the HANA MDC.

Sorry for the misunderstanding and once again thanks for your help!

Best Regards, Jaime