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 年前檢視次數 318 次
1 個回答
0

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

nlofaro
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南