Amazon Cognito Auth SDK for JavaScript site can't be reached


I'm having an issue where a call to auth.getSession() in my app takes me to an invalid URL in my browser. The URL string starts with 'https//' (with no colon) and this leads my browser to be unable to find the server IP address. This happens in both Chrome and Firefox.

Is there a step I am missing here? I know my app is calling that function but I'm not seeing an opportunity to sign up or sign on when I try to log in through my app because the hosted UI isn't loading properly.

Edited by: nlofaro on Sep 30, 2019 3:24 PM

asked 3 years ago62 views
1 Answer

This had to do with the URL having an extra 'https://' since the SDK adds it as well

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions