From 0693cd505f0a7b28bc478f2b1a3f5d344562f7f2 Mon Sep 17 00:00:00 2001 From: Samuel James Date: Tue, 17 Oct 2023 14:31:18 -0400 Subject: [PATCH] fix(cognito): add logs for the verify sso flow --- examples/javascript/src/lib/jane-service.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/javascript/src/lib/jane-service.mjs b/examples/javascript/src/lib/jane-service.mjs index 3f1739f..65475c0 100644 --- a/examples/javascript/src/lib/jane-service.mjs +++ b/examples/javascript/src/lib/jane-service.mjs @@ -127,12 +127,15 @@ const verifyCredentials = async (data, token) => { /** ----- GET SSO USER ATTRIBUTES ----- */ const verifySSOUser = async (data, token) => { + console.log("token: ", token) + console.log("data: ", data) const response = await apiService.post( `${COGNITO_API}/verify_sso_user`, data, token ) + console.log("response: ", response) const result = { errorMessage: "", user: response.body?.user,