Skip to main content
Question

Google OAuth Problems for SMTP in Jamf Pro

  • October 15, 2024
  • 8 replies
  • 56 views

BrandonAmos
Forum|alt.badge.img+5

After Google announced they would not be allowing basic credentials for SMTP, we are struggling to get the Google OAuth to work. We have followed the steps below and still not have had any luck. It keeps giving us this error but we have tried multiple URLs for the failover and it is not working. Any suggestions?

References: 

SMTP Server Integrations

Preparing a Google Workspace for Jamf Pro 
Jamf Pro SMTP Walkthrough

 

8 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • October 15, 2024

I presented on configuring Jamf Pro SMTP server settings for OAuth with both Microsoft and Google at last month's University of Utah MacAdmins meeting. You might find it useful.

https://stream.lib.utah.edu/index.php?c=details&id=13663

The redirect URL you want to use is the one you'd see when viewing your own Jamf Pro server's SMTP server settings. For example: "https://talkingmoose.jamfcloud.com/view/settings/system-settings/smtp-server".


BrandonAmos
Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 16, 2024

I presented on configuring Jamf Pro SMTP server settings for OAuth with both Microsoft and Google at last month's University of Utah MacAdmins meeting. You might find it useful.

https://stream.lib.utah.edu/index.php?c=details&id=13663

The redirect URL you want to use is the one you'd see when viewing your own Jamf Pro server's SMTP server settings. For example: "https://talkingmoose.jamfcloud.com/view/settings/system-settings/smtp-server".


With or without the port #? Assuming without?


BrandonAmos
Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 16, 2024

I presented on configuring Jamf Pro SMTP server settings for OAuth with both Microsoft and Google at last month's University of Utah MacAdmins meeting. You might find it useful.

https://stream.lib.utah.edu/index.php?c=details&id=13663

The redirect URL you want to use is the one you'd see when viewing your own Jamf Pro server's SMTP server settings. For example: "https://talkingmoose.jamfcloud.com/view/settings/system-settings/smtp-server".


I tried doing that and am still getting the error about being unable to add an account. I followed exactly what your presentation had as well.


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • October 16, 2024

With or without the port #? Assuming without?


If something other than 443, such as an on-prem installation using port 8443, you’ll need to include the port. Jamf Cloud uses port 443 and therefore doesn’t need it.


BrandonAmos
Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 16, 2024

If something other than 443, such as an on-prem installation using port 8443, you’ll need to include the port. Jamf Cloud uses port 443 and therefore doesn’t need it.


Our server is cloud-hosted but still says 8443.


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • October 16, 2024

You’ll need to include the 8443. Copy the URL as I demonstrated. That’s what you need.


Forum|alt.badge.img+14
  • Valued Contributor
  • October 16, 2024

We are cloud based and needed to include the 8443 for it to work.


BrandonAmos
Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 16, 2024

You’ll need to include the 8443. Copy the URL as I demonstrated. That’s what you need.


I added the 8443 and it still is giving me the error listed above. Sounds like it is a google problem with the token