swami9046
08/07/2023, 6:51 PMrp_st
08/07/2023, 6:56 PMrp_st
08/07/2023, 6:56 PMrp_st
08/07/2023, 6:58 PMswami9046
08/07/2023, 6:58 PMrp_st
08/07/2023, 6:59 PMrp_st
08/07/2023, 6:59 PMswami9046
08/07/2023, 7:03 PMrp_st
08/07/2023, 7:03 PMrp_st
08/07/2023, 7:04 PMgetUserById
function call, the error stack indicates the dashboard API is being called. So when you say When I try to look up a user calling: ThirdParty.getUserById(userId),
, i don't quite understand how your calling the funciton is calling the dashboard API. Maybe clarify whats going on here.swami9046
08/07/2023, 7:12 PMsupertokens.init({
framework: "awsLambda" as TypeFramework,
supertokens: {
connectionURI,
apiKey,
},
appInfo: {
appName,
apiDomain,
websiteDomain,
apiBasePath,
apiGatewayPath: `/${apiGatewayPath}`,
},
recipeList: [Dashboard.init()],
})
Called:
user = await ThirdParty.getUserById(userId)
Tried accessing the dashboared but not sure how to pass credentials to the dashboard.
If it helps, this call on staging works for my code. I was able to verify this on the staging database to which we have direct access.
await deleteUserForId(userId)
swami9046
08/07/2023, 7:46 PMrp_st
08/08/2023, 4:35 AMswami9046
08/08/2023, 8:14 PMrp_st
08/09/2023, 4:44 AMswami9046
08/16/2023, 7:32 PMrp_st
08/16/2023, 7:33 PM