Skip to Content
0

Unauthorized error in accessing user api HCP

Aug 02, 2017 at 05:55 AM

205

avatar image
Former Member

I am using the user api i.e. /services/userapi/currentUser in my ui5 application. When I run the application locally it gives me all the details my the current logged in user. But after deploying the application on HCP, the api gives unauthorized error message and doesnt return the current logged in user's details.

What can be the solution for this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jamie Cawley
Aug 02, 2017 at 03:18 PM
0

Does you deployed app log you in? This is configurable in the neo-app.json with the parameter authenticationMethod

https://help.hana.ondemand.com/help/aed1ffa3f3e741b3a4573c9e475aa2a4.html

Regards,

Jamie

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks a lot Jamie.. It really helped a lot :)

0