dazzling-secretary-51299
06/06/2023, 10:14 AM{
"id": "xxxxxx",
"error": {
"code": 500,
"status": "Internal Server Error",
"message": "unable to fetch from source: {\"text\":\"Hello, World!111\"}: open {\"text\":\"Hello, World!111\"}: no such file or directory"
},
"created_at": "2023-06-06T10:11:12.607853Z",
"updated_at": "2023-06-06T10:11:12.607853Z"
}
magnificent-energy-493
dazzling-secretary-51299
06/07/2023, 7:06 AMbody: <base64://ewogICAgImFjY291bnQiOiJzYW0iLAogICAgInBhc3N3b3JkIjoiMTIzNCIs>
and it works 🎉👍
-- -- --
but actually
I want to create a flow for users before they log in.
First, I will check if the account/password exists in Krasto.
(event don't know how right now)
If it does not exist, I will use a webhook to request information from my API
. My API
will respond whether the account/password is correct or not. The API response will look like:
{
"account": "sam",
"password": "1234abcd",
"is_correct": true
}
If the value of 'is_correct' is true, I will write the member information (account/password) into Krasto's identities table based on my API's response.
If the account/password already exists in Krasto, the user can proceed with logging in.
Is this flow possible or what i need to study for this flow?