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:
- Select Certificates & secrets and go to New client secret:
- Add the secret:
- Click on the Copy icon and save the secret in a safe place: