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
posta 5 anni fa319 visualizzazioni
1 Risposta
0

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

nlofaro
con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande