Server-side OAuth/OIDC library for SvelteKit
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
| example | demo |
|---|---|
| github | demo |
| package | changelog |
|---|---|
| @tripleslate/provenance | changelog |
see contribubting.md
vite-plugin-kit-routes for good practices for a single file vite codegen plugin