Skip to main content
Connection Events notify your server when an OFAuth connection is created, updated, expires, or is deleted.

Event Types

Payload Format

All connection events share the same general payload shape:

connection.created

connection.updated

connection.expired

Use connection.expired when the connection record still exists and can be reconnected or renewed.

connection.disconnected

Use connection.disconnected when a connection is fully removed from OFAuth and can no longer be reconnected or renewed.
The connection.created event is the recommended way to receive connection IDs. Use data.clientReferenceId, which you provided when initializing Link, to map the connection to the correct user in your database.