Skip to Content
avatar image
Former Member

Unauthorized error in accessing user api HCP

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 02, 2017 at 03:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded