Configuring OAUTH |
Top Previous Next |
|
NOTE: This will require a licensed mailbox with the SMTPClientAuthentication property enabled. Step 1: Configure things in Microsoft Entra 1)Log in to the Microsoft Entra portal 2)On the left, select App Registrations 3)Click "New Registration" 4)Give the new app a name, we recommend PageGate 5)Select the "Single Tenant" option. 6)In the "Redirect URI" section, select Web and use the following URL: http://localhost:3017/ 7)Click Register. 8)Make a copy of the Directory (tenant) ID and Application (client) ID 9)Click "Add a certificate or secret" 10) Click "New Client Secret" 11) Add the description: PageGate Secret 12) Click Add 13) Copy the Client Secret value (not the Secret ID) Step 2: Run the PageGate OAUTH application and retrieve the necessary tokens 1)On the PageGate server, run PG Admin. 2)Go to Program - Tools - O365 OAuth. 3)Enter the email address being used for authentication in the 'Username' field and enter the password for that email address in the 'Password' field. 4)Provide the Tenant ID, Client ID and Client Secret Values. 5)Click 'Retrieve Tokens' 6)Log in with the email address being used for authentication. 7)Accept the permission request. 8)Back in the PageGate OAUTH application, a great deal of information should now appear in the 'Access Token' section. Step 3: Apply the OAUTH template values to the Carrier(s) 1)Open Notepad (or your preferred text editor) 2)Paste everything into Notepad. 3)Add the following lines: 4)Highlight and copy everything to the clipboard. 5)Open PG Admin. 6)Go to Carriers - Any/All Carriers that use SMTP - Template 7)Overwrite the 'Settings' template with what you have copied to the clipboard. 8)Click Apply. |