Single sign on (SSO) is one of the common enterprise trends where users seamlessly login into one Authentication provider and access all the other applications. Here the authentication system is provided as a managed service which keeps track of all the applications open, its own privilege sets and permissions. Hence, if you login using the service, all the applications supported through the same will be readily available without requiring you to login every time. SSO bypasses the authentication system and uses the same credentials to get token for authorizing the application.
SAP B1 also supports enabling SSO by activating Identity Providers inside the platform. This will permit users who is already logged in using the identity provider to automatically login to the system without requiring them to fill in password again. Even though this is a simple setting, enabling this will disable your Service Layer API authentication system, which require to create Session to communicate. Now to handle and enable the default authentication system again, you need to do a certain settings on SAP, such that API user gets bound to SLD Control Center. When this is done, the OData based REST API authentication will again use the default session based authentication.
Let us now look into the steps which you need to perform to bind an SAP B1 user with SAP Company for SSO:
1. Open the SLD Control Center
2. Go to the Users tab and click on Add to create a new SAP Business One user
3. Select the newly created user and click on the Bind option
4. Select the company that you want to bind the user to.
5. Click on the OK button
Once the user is bound to the company, they will be able to access the Service Layer API without being prompted to authenticate again.
Benefits of binding SAP B1 users with SAP companies for SSO:
- Improved security
- Simplified user management
- Reduced risk of errors
- Increased compliance
Summary
Binding SAP B1 users with SAP companies for SSO is a simple process that can have a number of benefits for your organization. By following the steps in this blog post, you can easily bind your SAP B1 users with SAP companies for SSO.
If you are still not able to access SAP B1 Service Layer API, feel free to ask us in comments.
Thank you.