Skip to content

Latest commit

 

History

History
93 lines (74 loc) · 1.63 KB

README.md

File metadata and controls

93 lines (74 loc) · 1.63 KB

oc-pizza-store

  1. Implement store-admin a. Implement OrderCloud authentication using next-auth b. Implement notification provider
  2. Implement store-front

Steps to setup the OrderCloud authentication system.

  1. Create a new market place
  2. Create API Client for Seller App
  3. Create API Client for Buyer App
  4. Create admin user

{ "ID": "ADMIN", "Username": "admin01", "Password": "Pa$$word12345", "FirstName": "Admin", "LastName": "User", "Email": "[email protected]", "Active": true, "TermsAccepted": "2023-04-13" }

  1. Create buyer organization

{ "ID": "KwGTsm_2T06wS4VhE9BdSw", "Name": "Default Buyer", "DefaultCatalogID": "KwGTsm_2T06wS4VhE9BdSw", "Active": false, "DateCreated": "2023-04-13T03:55:35.873+00:00", "xp": null }

  1. asd

{ "Active": true, "Username": "buyer1", "Password": "Pa$$word12345", "FirstName": "Buyer", "LastName": "User", "Email": "[email protected]", "TermsAccepted": "2023-04-13" }

  1. Admin security profile

{ "ID": "ADMIN_PROFILE", "Name": "Admin User Profile", "Roles": [ "MeAdmin", "PasswordReset", "BuyerReader", "OrderAdmin", "CatalogAdmin", "ProductAdmin", "ProductAssignmentAdmin", "PriceScheduleAdmin", "ShipmentAdmin" ] }

  1. Buyer security profile

{ "ID": "BUYER_PROFILE", "Name": "Buyer User Profile", "Roles": [ "MeAdmin", "PasswordReset", "Shopper" ] }

  1. Assign admin user profile to seller organization

{ "SecurityProfileID": "ADMIN_PROFILE" }

  1. Assign buyer user profile to buyer organization

{ "SecurityProfileID": "BUYER_PROFILE", "BuyerID": "BUYER_ORGANIZATION" }