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

0

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

nlofaro
已提问 5 年前314 查看次数
1 回答
0

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

nlofaro
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则