System Events
Listen to the heartbeat of your backend project and take action.
Overview
System events are emitted internally by the system and offer developers a unique avenue to enhance their applications by effortlessly tapping into and responding to critical points in the backend’s lifecycle. Unleash the full potential of Fastgen as you explore the different system events and their event payload, ensuring your projects remain agile and adaptive.
Datahub events
Table Created
Event api.dataTable_created
is emitted on every table creation done through the Datahub UI on app.fastgen.com
Table Updated
Event api.dataTable_updated
is emitted on every table update done through the Datahub UI on app.fastgen.com
Table Emptied
Event api.dataTable_emptied
is emitted whenever Clear table
is clicked in the table settings menu.
Table Deleted
Event api.dataTable_deleted
is emitted whenever Delete Table
is clicked in the table settings menu.
User management events
Post Log in
Event auth.user_loggedIn
is emitted whenever a user logs in
Post Sign up
Event auth.user_signedUp
is emitted whenever a user logs in
Email Verification Requested
Event auth.email_verificationRequested
is emitted whenever the email verification is requested. This either happens automatically direct after sign up with email and password of when email verification is requested via the API
The link
property is pointing to your hosted authentication pages so it is only working if you have those enabled. The link contains the verification token and the user only has to click the link for the verification to succeed and the user will then be redirected to the entered callback url that was specified on the hosted authentication settings page.
The token
and link
are valid for one day after which they expire.
You can also customize this part of the process by taking the token
and building your own logic on when and how it will be used for verifying the users email. Just use Email Verification Submission Endpoint and provide the token
and the users email is verified. Or use the User action to modify a user’s email verified property.
Email Verified
Event auth.email_verified
is emitted whenever the email verification is succesfull.
Password Reset Requested
Event auth.password_reset
is emitted whenever the password reset was requested by either the hosted authentication page or via the Request Password Reset API endpoint.
The token
and link
are valid for one hour after which they expire.
Here you can again decide like describe with the Email Verification Requested Event that you can either use the provided link
and the pre build and ready-configured hosted authentication pages or do the process yourself with the token
and the Submit Password Reset Token API endpoint.
Password Reset
Event auth.password_reset
is emitted whenever the password reset was successful. Note, that changing the users password through the User Management UI does not trigger this event.