I'm trying to configure oAuth for Email using the Exchange option. After a few config hickups we ended with the problem that apparently DNN send a non https return addres to office 365. We do have https redirect in place but ion the end this is the error we get:
AADSTS50011: The redirect URI 'http://www.website.com/Providers/SmtpOAuthProviders/ExchangeOnline/Authorize.aspx' specified in the request does not match the redirect URIs configured for the application '******************************'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Host
Since it's host, the logic for https vs http for the exchange provider's redirect URL depends on the SSL settings for the host's portal. Look in the 'HostSettings' table for SettingName 'HostPortalId' (I'm not sure how that gets set since "Host Settings" disappeared with the Persona Bar?). The use the HostPortalId to lookup in PortalSettings for PortalId = HostPortalId and SettingName = SSLSetup. Make sure setting value is "1" ("On").
Posted By johnhenley on 9/4/2024 4:40 PM Since it's host, the logic for https vs http for the exchange provider's redirect URL depends on the SSL settings for the host's portal. Look in the 'HostSettings' table for SettingName 'HostPortalId' (I'm not sure how that gets set since "Host Settings" disappeared with the Persona Bar?). The use the HostPortalId to lookup in PortalSettings for PortalId = HostPortalId and SettingName = SSLSetup. Make sure setting value is "1" ("On").
I did that but it crashed the "return page" :-(
Ok sorry. I already forced the main site to SSL before posting this, but that lead to a 503 error when trying to complete the process, not sure why..
Posted By Timo Breumelhof (40F) on 9/5/2024 9:24 AM Ok sorry. I already forced the main site to SSL before posting this, but that lead to a 503 error when trying to complete the process, not sure why..
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.