Fatal error: Uncaught Exception: OAuth2 Error: Client error: `POST https://login.microsoftonline.com/90a50d94-a4a3-462b-a6aa-9a27893544c6/oauth2/v2.0/token` resulted in a `401 Unauthorized` response:
{"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being se (truncated...)
in /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/businesscentral/auth.php:43
Stack trace:
#0 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/businesscentral/auth.php(49): OAuth2Client->getAccessToken()
#1 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/businesscentral/controllers/itemCatalog.php(19): OAuth2Client->makeAuthenticatedRequest()
#2 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/businesscentral/controllers/itemCatalog.php(61): CatalogController->sync()
#3 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/classes/WooCommerceCustomerCatalog.php(20): CatalogController->catalogByCode()
#4 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/classes/IntegrateSessionHandler.php(59): WooCommerceCustomerCatalog->sync()
#5 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/public/class-brainforest-woo-integrate-public.php(319): IntegrateSessionHandler->get_user_post__in()
#6 /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/public/class-brainforest-woo-integrate-public.php(246): Brainforest_Woo_Integrate_Public->getAllowedProductsForUser()
#7 /home/brainweb/webapps/test.sundlings/wp-includes/class-wp-hook.php(324): Brainforest_Woo_Integrate_Public->bc_restrict_product_purchase()
#8 /home/brainweb/webapps/test.sundlings/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /home/brainweb/webapps/test.sundlings/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1659): apply_filters()
#10 /home/brainweb/webapps/test.sundlings/wp-content/plugins/woocommerce/includes/wc-template-functions.php(699): WC_Product->is_purchasable()
#11 /home/brainweb/webapps/test.sundlings/wp-content/plugins/woocommerce/includes/wc-template-functions.php(740): wc_get_product_class()
#12 /home/brainweb/webapps/test.sundlings/wp-content/plugins/woocommerce/templates/content-single-product.php(34): wc_product_class()
#13 /home/brainweb/webapps/test.sundlings/wp-includes/template.php(812): require('/home/brainweb/...')
#14 /home/brainweb/webapps/test.sundlings/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
#15 /home/brainweb/webapps/test.sundlings/wp-content/themes/sundlings_se/woocommerce/single-product.php(39): wc_get_template_part()
#16 /home/brainweb/webapps/test.sundlings/wp-includes/template-loader.php(106): include('/home/brainweb/...')
#17 /home/brainweb/webapps/test.sundlings/wp-blog-header.php(19): require_once('/home/brainweb/...')
#18 /home/brainweb/webapps/test.sundlings/index.php(17): require('/home/brainweb/...')
#19 {main}
thrown in /home/brainweb/webapps/test.sundlings/wp-content/plugins/brainforest-woo-integrate/includes/businesscentral/auth.php on line 43