Skip to content

aws-samples/amazon-eventbridge-integration-with-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build an Amazon QuickSight dashboard with Auth0 events

QuickSight Dashboard

amazon-eventbridge-integration-with-auth0

This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes the following files and folders.

Requirements

Installation Instructions

  1. Create an AWS account if you do not already have one and login.

  2. Clone the repo onto your local development machine using git clone.

  3. From the command line, change directory into the root, then run:

sam build
sam deploy --guided

How it works

  1. Events are emitted from Auth0 when a user interacts with the login service on the front-end application.
  2. These events are streamed into a custom SaaS event bus.
  3. Event rules match events and send them downstream to a Lambda function target.
  4. The receiving Lambda function performs some data housekeeping before writing an object to S3.
  5. These objects are captured by a QuickSight data source manifest file and used as datapoints on a QuickSight dashboard.

Follow the prompts in the deploy process to set the stack name, AWS Region and other parameters.

Auth0EventBusName

  • Auth0EventBusName: A valid custom Event Bus for Auth0 Events (custom event bus names are genrated by the event source).

Amazon QuickSight manifest file

  • {your-s3-bucket-name}: in manifest.JSON, replace this token with your S3 bucket name

Building the QuickSight dashboard

Before building your first visual you must:

✅ Ensure that QuickSight has permission to access your S3 bucket. Show me how.

✅ Create a new Data source. Show me how.

Creating visuals

Example 1 – Connection channels

This visual enables you to understand your users’ preferred mechanism to log into your application.

Pie Chart visual with multiple data points Show me how to build this.

✅ Tip: Use calculated fields to build more complex visuals Show me how.

Example 2 - trends

You can use this type of visual to show the trend in unsuccessful sign-ins, which could signify a problem with a recent UX release or user database connect.

Trends with conditional formatting

Show me how to build this.

Example 3 – comparisons over time

This third example shows registrations versus sign-ins over time: Time based comparrisons

Show me how to build this.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages