Developer forum

Forum » Integration » TestTool - Using OAuth authentication to Business Central

TestTool - Using OAuth authentication to Business Central

Michael Knudsen
Reply

Is it possible to configure the TestTool to use OAuth for connection to Business Central?

Currently are we using Basic Auth, but is will be deprecated https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/deprecated-features-w1

The capability to access web services in Business Central using Web Service Access Key (Basic Auth) is deprecated for SaaS. OAuth2 will be the authentication option for SaaS. OAuth samples are published in the BCTech repo. For on-premises, Web Service Access Key (Basic Auth) will remain an option for the time being. This change has no impact on how Business Central connects to external services.

Br. Michael Knudsen


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Michael,
we are aware of that change and we are now working to make it work in the new Enpoint Management module inside Dynamicweb. Probably we will add the OAuth2 support to the Test tool as well in future.
Kind regards, Dmitrij

Votes for this answer: 1
 
Michael Knudsen
Reply

Sounds good Dmitrij, it really should be implemented in the TestTool since it's a highly valued tool in my toolbox. The sooner the better.

Br. Michael Knudsen

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Michael,
until it is not yet implemented in the Test tool you can use a Postman as a workaround and follow this guide to make it work there:
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-connect-apps
Kind regards, Dmitrij

 

You must be logged in to post in the forum