cancel
Showing results for 
Search instead for 
Did you mean: 

Blue API Swagger testing issue

BrajeshKumar1
Level 2

Hi,

We have installed Hub, Intercat and Blue Prism API, Hub and Interact working fine but when we are testing Blue Prism API using Swagger, we are getting error " Unauthorized - user not logged in ". we have created service account on HUB and provided the system administrator. We have done the changes in json file and added the API url in host file as recommended in installation guide and video.

26249.jpg

Please note I have installed API on different server (BP server running on different server) using SQL authentication and created self-sign certificate. 

Can anyone help me to resolve this.

Thanks, in advance.



------------------------------
Brajesh Kumar
------------------------------
1 REPLY 1

daultani
Level 3

Hello @Brajesh,

We are also in phase of installation of Blue prism API.
Can you help me with the below point while giving user access to database. please refer below point 6 from the BP guide which says we need windows user who has access to database.  how did you get that user, which can access both?

Configure IIS application pool for Windows Authentication access to database

If the account used by the API to communicate with the Blue Prism database uses Windows Authentication, the Blue Prism API application pool in IIS will need to be updated to run as a user with appropriate access to the Blue Prism database. Follow the steps below when using Windows Authentication for the database connection:

  1. Launch the Internet Information Services Manager from the Windows Start menu.
  2. In the Connections panel, expand the Application Pools node and select Blue Prism API.

  3. On the Application Pools page, select Advanced Settings.
  4. In the Advanced Settings dialog, expand Process Model and click the ellipsis () next to Application Pool Identity.
    Configure IIS for Windows Authentication
  5. In the Application Pool Identity dialog, select the Custom account option and click Set....
  6. In the Set Credentials dialog, enter the Windows login credentials of a user who has access to the Blue Prism database and click OK.

 



------------------------------
Bhawana Daultani
------------------------------