Repository navigation
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this PR about?
New PR of the SuperTokens template — the SuperTokens authentication core (sign-up, sign-in, sessions, password reset, MFA) backed by PostgreSQL, ready to be wired into an app's backend via the SuperTokens SDKs (https://github.com/supertokens/supertokens-core).
Notes for reviewers:
registry.supertokens.io/supertokens/supertokens-postgresql:12.5.1image — the PostgreSQL variant from SuperTokens' own registry and self-hosting guide (latest stable; the tag was verified against the registry/Docker Hub and is the version the live trial ran as:latest).meta.jsonversion matches the image tag.supertokens(port 3567, wired to the domain intemplate.toml) plus PostgreSQL 16 with a healthcheck; the core waits viadepends_on: service_healthy. The database password is generated at deploy time and shared by both services through the connection URI.GET /helloon the domain returnsHello. The README explains the core/backend relationship and documents the optionalAPI_KEYShardening (deliberately left to the user, since the key must match their own backend's SDK configuration).supertokens.png, from supertokens.com).Checklist
Before submitting this PR, please make sure that:
generate-meta.js --check,validate-template.tsandvalidate-docker-compose.tsall pass locally against this blueprint.)Issues related (if applicable)
None — standalone submission; there is no open request issue for SuperTokens.
Screenshots or Videos