Showing results for 
Search instead for 
Did you mean: 

SAP User Authentication through Angular + oDATA

0 Kudos


We are developing a web based app with Angular using HTML. In this process user should login using the web based screen (HTML) which should be authenticated in the SAP user database (USR02). The oDATA service which is developed is working fine and when we enter the URL, it displays the username/password pop-up and when entered, it is getting authenticated without any issues. However, I am not sure how to:

1. Maintain the service user ID details in my Angular script.(To call the oData service)

2. Pass the username and password to the authenticate the user (which are entered in our login page)

We are using SAP ECC EHP8.

Can someone shed some light on how to configure the authentication process when calling the back end ODATA service?

Thanks in advance!


Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

I am not an expert in Angular.

But SAP Gateway supports basic authentication.

And I found the following blog.