Skip to content

Auth0 integration - #368

Draft
isvictorious wants to merge 3 commits into
mainfrom
vramirez/edu-588-auth0-how-to
Draft

Auth0 integration#368
isvictorious wants to merge 3 commits into
mainfrom
vramirez/edu-588-auth0-how-to

Conversation

@isvictorious

@isvictorious isvictorious commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

Adds a new integration guide for using Tiger Cloud or self-hosted TimescaleDB as the user store for an Auth0 custom database connection. Covers the users schema, configuring the connection in Auth0, storing the connection string in the script Settings, and all six action scripts — Login, Get User, Create, Verify, Change Password, Delete — adapted from Auth0's official PostgreSQL templates. Includes verification and troubleshooting, the Auth0 card logo, and a sidebar entry under Code & libraries.

Sources: Auth0 custom DB templates, auth0/db-connections-templates (postgres scripts), auth0/db-creation-scripts/postgres.sql. Linear: EDU-588.

⚠️ AI-drafted — not tested end to end. The schema and all six action scripts were adapted (with AI assistance) from Auth0's official PostgreSQL templates; the only change was reading the connection string from configuration instead of a hard-coded value. Nothing here has been run against a live Auth0 tenant.

Testing requires:

  • An Auth0 account/tenant with a custom database connection.
  • A network-reachable Tiger Cloud service or self-hosted instance (Auth0 runs scripts from its own infrastructure — allowlist Auth0's IPs for Tiger Cloud; self-hosted must be reachable/tunneled).
  • Running each script (Login, Create, Get User, Verify, Change Password, Delete) through its real Auth0 flow and confirming the users table updates as expected.

Other items to confirm:

  • The schema adds PRIMARY KEY and UNIQUE/NOT NULL constraints beyond Auth0's bare reference schema.
  • Exact Auth0 Dashboard label strings (Create DB Connection, Use my own database, Custom Database tab, Settings parameter names) against the current dashboard.

Affected pages

Related Issues

If there is a related issue, please add it below (just put the number after the # below, and GitHub will automatically create a link):

Issue: #number

Checklist before requesting a review

  • - This is ready for review. If not, raise as a draft PR
  • - I have reviewed my changes.
  • - I have confirmed the content is technically accurate.
  • - I have tested any code that is added or updated on the latest available version.
  • - I have confirmed the content is free of typos or grammar errors.
  • - I have verified all images and videos are clear and match production (or dev for unreleased features).
  • - This references a feature that is public. If not, add a note and we can schedule the merge for after the feature release.

🤖 Generated with Claude Code

Add a guide for using Tiger Cloud or self-hosted TimescaleDB as the
user store for an Auth0 custom database connection, covering the users
schema, the Login/Create/Get User action scripts, a network-reachability
caveat, verification, card logo, and sidebar entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isvictorious
isvictorious requested a review from a team June 29, 2026 19:26
@github-actions

Copy link
Copy Markdown

⚠️ Checklist Incomplete

Please complete all checklist items in the PR description before requesting review.

Unchecked items:

  • This is ready for review
  • I have reviewed my changes
  • I have confirmed the content is technically accurate
  • I have tested any code that is added or updated
  • I have confirmed the content is free of typos or grammar errors
  • I have verified all images and videos are clear and match production
  • This references a feature that is public

Tip: If an item isn't relevant to your PR, mark it as checked and add "n/a" next to it.

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiger-data-docs Ready Ready Preview, Comment Jun 29, 2026 11:48pm

…uth0 guide

Include the remaining three Auth0 custom database action scripts,
adapted from Auth0's official PostgreSQL templates, instead of only
referencing them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Use product-name constants in prose, put UI element names in code font
instead of bold, drop the TLS acronym, and fix a redundant
"self-hosted self-hosted TimescaleDB" phrase.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant