Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: OAuth SMTP Authentication Settings Reset After Upgrade to 10.3.1

Open
#7,223 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp

Research direction

Start by reproducing the documented upgrade from DNN 9 or later to 10.3.1 with OAuth SMTP configured, then inspect the SMTP settings persistence and upgrade paths; the issue names no files or tests. Check whether the client secret and configuration-completed state survive the upgrade. Done means transactional email still works and both settings remain present after upgrading.

Written by the indexing model from the issue text.

Description

Status: New
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

While performing verification checks after upgrading my DNN installations to 10.3.1, I discovered that the sites using OAuth for SMTP Authentication were no longer authorized and unable to send transactional email messages.

Additionally, each one was missing the client secret for the "Auth Provider" that was valid prior to the upgrade.

At first I thought it was a fluke, because I've never encountered this with previous upgrades, but it has been a very consistent problem when upgrading to this version.

Fortunately, reauthenticating the token with the provider works, so I am able to restore email service for these installations, but it was not something I was expecting to do.

Steps to reproduce?
  1. Setup OAuth SMTP Authentication on DNN 9 or later
  2. Upgrade the installation as documented to version of DNN 10.3.1
  3. Attempt to send a Transactional Email or check the SMTP Server Settings
Current Behavior

Installation is unable to send transactional emails after upgrade. The client secret is missing from the SMTP Server configuration settings and the "configuration completed" message is no longer displayed.

Image
Expected Behavior

Installation is able to send transactional emails after upgrade. The client secret remains shown as a populated password on the SMTP Server configuration settings page and the "configuration completed" message is displayed.

Image
Relevant log output

Anything else?

No response

Affected Versions

10.3.1 (latest release)

What browsers are you seeing the problem on?

Microsoft Edge, Safari, Chrome, Firefox

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
C#
Stars
1.1k
Forks
791
Avg merge
2d 2h
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dnnsoftware/Dnn.Platform

All issues in dnnsoftware/Dnn.Platform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.