OAuth Authentication with Business Central online course

General information

As you may have noticed, OAuth will soon be the only authentication mechanism for Business Central APIs. And many other Microsoft APIs support OAuth as well. APIs you may want to integrate with from Business Central. So it’s time to get prepared for OAuth! This online course consists of 4 sessions about OAuth authentication in combination with Business Central.

Target audience

Generally anyone involved with consuming Business Central APIs or calling external web services from AL, requiring OAuth authentication.

Schedule

The webinar is organized in four sessions:

DateTopic
Monday, October 2, 2023Configuring OAuth in Azure
Wednesday, October 4, 2022Authorization Flows
Monday, October 9, 2023Implementing OAuth
Wednesday, October 11, 2023Using OAuth in AL code
TimeYour local time (based on your browser)
16.00 – 18:00 CEST (UTC+2)Click here for your local time

All sessions will be 90 – 120 minutes, including Q&A. After the sessions, you will receive the recordings of both sessions. Between the sessions, you will be able to ask questions via Teams or by email.

Costs

The price is € 495 excl. VAT per attendee.

If you combine this OAuth course with the API course, the total price will be € 890 excl. VAT for both trainings. That’s an extra 10% discount!

Registrations are handled first come first serve. You will receive an invoice and payment link within 5 business days after registration. Invitations for the online sessions will be sent after the payment has been received.

Prerequisites

You need to have a Business Central environment available in order to work with APIs yourself. Preferably an online sandbox to make use of OAuth against Business Central APIs. For using OAuth from AL code, a local installation will also work.

Any questions? Don’t hesitate and contact me!

Content

Session 1 – Configuring OAuth in Azure

In the first session, we will discuss the OAuth authorization concept and the different configuration options in Azure. OAuth covers many different scenarios and you will learn how these scenarios dictate the configuration settings.

Session 2 – Authorization Flows

Authorization flows are used to acquire access tokens. We will discuss the most used authorization flows Authorization Grant flow, Client Credentials flow and Device Code flow. You will learn how they relate to the configuration settings and how to choose between the different flows.

Session 3 – Implementing OAuth

Now that we have learned about the basics of OAuth, it’s time to actually use them. You will learn how to set up Postman and the VS Code Rest Client extension to call Business Central APIs using OAuth authorization. We will also look at implementing OAuth in C# by using the available .Net libraries.

Session 4 – Using OAuth in AL code

The first three sessions focused on calling Business Central APIs from outside. In the final session we will look at how AL code supports OAuth authorization. We will discuss using the standard OAuth library in the application, as well as how to build your own OAuth library in AL code. Finally, we will also look at configuring the Business Central service tier for OAuth. Including the different options we have with the Docker environments and the BCContainerHelper PowerShell module.