├── .gitignore ├── examples ├── leptos-oauth │ ├── README.md │ ├── .gitignore │ ├── Cargo.toml │ ├── style.css │ ├── index.html │ └── src │ │ └── main.rs ├── leptos-otp │ ├── .gitignore │ ├── README.md │ ├── Cargo.toml │ ├── index.html │ └── src │ │ └── main.rs ├── sycamore-auth │ ├── .gitignore │ ├── Cargo.toml │ ├── index.html │ ├── README.md │ ├── app.css │ └── src │ │ └── main.rs ├── sycamore-guestbook │ ├── .gitignore │ ├── README.md │ ├── Cargo.toml │ ├── index.html │ └── src │ │ └── main.rs ├── yew-supabase-auth │ ├── .gitignore │ ├── index.html │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── main.rs └── sycamore-realtime-chat │ ├── .gitignore │ ├── index.html │ ├── Cargo.toml │ └── src │ └── main.rs ├── Cargo.toml ├── LICENSE.md ├── README.md └── src └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /Cargo.lock -------------------------------------------------------------------------------- /examples/leptos-oauth/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/leptos-oauth/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | dist 3 | Cargo.lock -------------------------------------------------------------------------------- /examples/leptos-otp/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | dist -------------------------------------------------------------------------------- /examples/sycamore-auth/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | dist -------------------------------------------------------------------------------- /examples/sycamore-guestbook/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | target 3 | Cargo.lock -------------------------------------------------------------------------------- /examples/yew-supabase-auth/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | dist -------------------------------------------------------------------------------- /examples/sycamore-realtime-chat/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | target 3 | Cargo.lock -------------------------------------------------------------------------------- /examples/leptos-otp/README.md: -------------------------------------------------------------------------------- 1 | # Leptos OTP Auth with Supabase 2 | 3 | ``` 4 | $Env:SUPABASE_URL=""; $Env:SUPABASE_KEY=""; trunk serve --open 5 | ``` 6 | -------------------------------------------------------------------------------- /examples/sycamore-guestbook/README.md: -------------------------------------------------------------------------------- 1 | # Guestbook with Sycamore and Supabase 2 | 3 | ```powershell 4 | $Env:SUPABASE_URL="https://xyzcompany.supabase.co"; $Env:SUPABASE_KEY="public-anon-key"; trunk serve --open 5 | ``` 6 | -------------------------------------------------------------------------------- /examples/yew-supabase-auth/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |"" {move || format!("{:#?}", session.get())} ""
60 | 61 | 62 |{error.as_string()}
183 | } 184 | 185 | } else { 186 |{format!("{:#?}", data)}
188 |
190 | }
191 |