Deploying the oauth2_proxy side car

We are going to implement oauth2_proxy from bitly (https://github.com/bitly/oauth2_proxy). We will be following the steps indicated in the documentation for Azure AD (https://docs.microsoft.com/en-us/azure/active-directory/).

First, register an app with Azure AD as shown in the following screenshot:

Next, create a client ID secret by performing the following steps:

  1. Select Certificates & secrets and go to New client secret:
  1. Add the secret:
  1. Click on the Copy icon and save the secret in a safe place:

Get Hands-On Kubernetes on Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.