Skip to content

TripleslateSoftware/provenance

Repository files navigation

provenance

Server-side OAuth/OIDC library for SvelteKit

usage

The package's main entry point is a vite plugin. On vite dev and vite build, a provenance "runtime" is generated in source. This runtime contains functions that can be used to set up a provenance "instance" configured to your provider.

Currently, github and keycloak are the only supported OAuth providers, but with some knowledge of your provider and with those implementations as examples, it would not be difficult to add more. Feel free to make a PR!

see the package readme for specific usage instructions

examples

example demo
github demo

packages

package changelog
@tripleslate/provenance changelog

contributing

see contribubting.md

license

MIT

thanks

vite-plugin-kit-routes for good practices for a single file vite codegen plugin