Website hosting Oauth SSL callback error -- 2

Job ID: 31338491

Budget: ₹1,500 – ₹12,500 INR

I have a custom domain on which I am using oauth.
The site loads properly but after oauth I get following errors.

'Warning: Potential Security Risk Ahead even though the site is in https.'

On Firefox :
Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for <domain name>. The certificate is only valid for the following names: shortener.secureserver.net, www.shortener.secureserver.net
Error code: SSL_ERROR_BAD_CERT_DOMAIN

On Chrome :
NET::ERR_CERT_COMMON_NAME_INVALID

-----
I am using Heroku with GoDaddy custom domain.

The heroku app itself works properly without any issues.

Heroku has paid version ( 7$ ) with automatic certificate management (ACM).
------------------------------------------------------------------
I can give TeamViewer access to my PC which has admin login to GoDaddy and Heroku.
Related categories: Web Hosting DevOps