Skip to content

Commit a2a6b8a

Browse files
Merge pull request #459 from kinde-oss/DaveOrDead-patch-1-1
Update workflow-user-post-auth.mdx
2 parents bf1f783 + 7970251 commit a2a6b8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/workflows/example-workflows/workflow-user-post-auth.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ At this stage the user is not authorized - we have not checked organization acce
2222

2323
### Minimize account sharing
2424

25-
Check previous logins by the user to see if they have carried out impossible travel or if their IP address looks suspicious.
25+
Check previous logins by the user to see if they have carried out impossible travel or if their IP address looks suspicious. [Example code](https://github.com/kinde-starter-kits/workflow-examples/blob/main/postUserAuthentication/impossibleTravelWorkflow.ts)
2626

2727
### Add properties to a user
2828

@@ -79,4 +79,5 @@ The main argument provided to your code is the Kinde workflow `event` object whi
7979

8080
See examples on GitHub:
8181

82-
[Sync new user data to Hubspot](https://github.com/kinde-starter-kits/workflow-examples/blob/main/postUserAuthentication/syncNewUserToHubspotWorkflow.ts) - Send user data and UTM tags to Hubspot when a new user record is created in Kinde.
82+
- [Sync new user data to Hubspot](https://github.com/kinde-starter-kits/workflow-examples/blob/main/postUserAuthentication/syncNewUserToHubspotWorkflow.ts) - Send user data and UTM tags to Hubspot when a new user record is created in Kinde.
83+
- [Impossible travel - Trustpath integration](https://github.com/kinde-starter-kits/workflow-examples/blob/main/postUserAuthentication/impossibleTravelWorkflow.ts) - Evaluate user login risk using TrustPath's API by checking for "impossible travel" patterns based on IP and recent login activity. If high risk is detected, access is blocked proactively.

0 commit comments

Comments
 (0)