There is an error while trying to sign into metamask. The issue is that:
-
Its a self hosted moralis server on http://xxxxxxxxxxx.us-east-1.elasticbeanstalk.com/server
-
I applied SSL certificate to load balancers on elasticbeanstalk. That secured the backend to a https URL: https://backend.treasurehunttoken.com/server
-
My website is made in nextjs and the auth is implemented on frontend. At https://beta.treasurehunttoken.com/
Whenever I login via metamask, I get this warning:
The message while signing looks something like this:
Here is the Parse cloud function: