cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer Single Sign On (SSO) example or tutorial

MDIAS
Explorer
1,610

Hi,

Is there any tutorial/video/post that explains how to connect to Service Layer with SSO?

I've connect successfully to Service Layer in the past, but can't login when SSO is activated since I always get this error when I try to login into Service Layer via POSTMAN:

 

POST https://localhost:50000/b1s/v1/Login
{
    "CompanyDB": "DEMO_US",
    "Password": "MyPass",
    "UserName": "demo"
}
Error message:
{
    "error": {
        "code": 401,
        "message": {
            "lang": "en-us",
            "value": "Internal error: Get access token error,{\"error\":\"invalid_grant\",\"error_description\":\"Invalid user credentials\"}."
        }
    }
}

 

Additionally, the Service Layer PDF manual is very generic on how to connect via SSO and haven't found solutions in other forums/SAP docs. 

Thanks

View Entire Topic
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Hi MDIAS,

The explanation is provided in reference to Service Layer only.

You will not be able to login using SAP Business One user and password when SSO is enabled.

You will have to use the user created in SLD and password in order to login into Service Layer. Same user name and password which you use in SAP Business One client after enabling SSO.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

MDIAS
Explorer
0 Kudos
Hi Ankit, yes I was able to login into SL based on your suggestion. Thanks