Redirect URI showing as http:// when creating a connected app

I am trying to link ERPNext to Microsoft office 365 to use outlook. However, when I create a new connected app the redirect URI is created as http:// which Microsoft wont allow. Our frappe ERPNext site is actually a https:// site.

image

Hi,
Kindly verify site_config.json file: host_name includes https
if not then:

"host_name": "https://erpnextsitename.com"

Regards,
Shubham

Hello Shubham,

Great this seems to have solved the issue. I did try this a couple of days ago however it was giving me an internal server error whenever I tried to load our site. Now it is working ok though. Thank you.