mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-08-31 15:37:50 +00:00
Feature: Deep Link + Supabase OAuth + open extension in store with deep link (#16)
* feat(auth): add deep link and supabase auth * fix(deep-link): fix some routing and reactive page rendering * feat: implement supabase auth with pkce auth flow
This commit is contained in:
parent
2c99f231f7
commit
605a7844f2
23 changed files with 422 additions and 78 deletions
|
@ -1,10 +1,9 @@
|
|||
import { ExtPackageJson } from "@kksh/api/models"
|
||||
import { type Database } from "@kksh/supabase"
|
||||
import { createClient } from "@supabase/supabase-js"
|
||||
import { createSB } from "@kksh/supabase"
|
||||
import { parse, string } from "valibot"
|
||||
import { getJsonSchema } from "../src"
|
||||
|
||||
const supabase = createClient<Database>(
|
||||
const supabase = createSB(
|
||||
parse(string(), process.env.SUPABASE_URL),
|
||||
parse(string(), process.env.SUPABASE_SERVICE_ROLE_KEY)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue