cancel
Showing results for 
Search instead for 
Did you mean: 

Prompted for username and password when running Fiori App on VSCODE localhost on my mac

StationedAbroad
Discoverer
0 Kudos
204

I am developing the example Fiori Travel application, where we create a list report with object view.  This was developed correctly using eclipse and when executing the OData service preview there were no issues.  The next stage was to run on vscode locally, which I did, followed all the steps using the application generator.  The problem is when I run the application and it opens in localhost, I get the below error, asking for username and password.  I have many other local web servers using local host on python and nodejs wihtout issue.  The issue is I think it is was trying to authenticate from the btp abap backend where my OData service is kept.  I tried setting a username and password for the btp destination, but still no success.  I also tried changing the auths on my mac for the webapp folders and all sub folders, still no luck.

Please advise.

Best
Sulman

 

StationedAbroad_0-1739722192159.png

This is my ui5.yml file:

StationedAbroad_0-1739739101538.png

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

peterpersiel
Product and Topic Expert
Product and Topic Expert

Hello Sulman,

please make sure to follow the steps under 1. Generating and Deploying Your Application in Develop an SAP Fiori Application UI and Deploy it to ABAP Using Visual Studio Code. It also includes steps to preview the Fiori application.

Best regards,
Peter

StationedAbroad
Discoverer
0 Kudos
Thanks for pointing me in this direction. I restarted, followed the SAP help guides you suggested. This time it prompted me for access to mac keychain store, which I allowed and it worked. I am pretty sure I followed this process before, but perhaps I messed up somewhere along the way.

Answers (0)