Skip to content

Commit

Permalink
fix(cognito): add logs for the verify sso flow
Browse files Browse the repository at this point in the history
  • Loading branch information
samueljamesbliss committed Oct 17, 2023
1 parent 9afaa9a commit 0693cd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/javascript/src/lib/jane-service.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0693cd5

Please sign in to comment.