Update Cloud POS configuration
Update Cloud POS configuration
Now, let's update Cloud POS's config to point to the newly created AAD application
1. Click the Overview link of the just created Cloud POS AAD application and copy to the clipboard the value from the field Application (client) ID
2. Open CPOS's config.json and locate where the key AADClientId is. Replace its value with the one stored in the clipboard in the previous step.
3. In the same file find the key AADRetailServerResourceId and replace its value with the value corresponding to Retail Server's Application ID URI created in step 1.5.
Both of those parameters will be used by Cloud POS when it sends a request to AAD to acquire a security token. This is what my file looks like after making the changes:
By now we completed the changes on the AAD and CPOS sides, next step is to add info corresponding to just created AAD applications into an allow list in HQ so RS will be able to successfully authenticate requests coming from your CPOS.
Update F&O HQ configuration Next >>
Comments
Post a Comment