Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@maroxy/auth-ui-svelte
Advanced tools
Supabase Auth UI is a collection of pre built UI components that work seamlessly with @supabase/auth-helpers.
Supabase Auth UI is a collection of pre built UI components that work seamlessly with @supabase/auth-helpers.
The main purpose of these components is to allow developers to get working on their apps quickly, but also be able to use their own style/css.
Auth UI is kept deliberately separate from @supabase/auth-helpers so that developers can migrate away from pre-built UI components as their UI system naturally matures.
In order to make use of the Auth UI Svelte you'll need to have a few things ready first. Let's talk about those things step by step:
First let us install Supabase into our Svelte project.
npm install @supabase/supabase-js @maroxy/auth-ui-svelte
# or
pnpm add @supabase/supabase-js @maroxy/auth-ui-svelte
# or
yarn add @supabase/supabase-js @maroxy/auth-ui-svelte
Let's create our Supabase client
import { createClient } from '@supabase/supabase-js'
const supabase = createClient(
'<INSERT PROJECT URL>',
'<INSERT PROJECT ANON API KEY>'
)
<script lang="ts">
import { createClient } from '@supabase/supabase-js'
import { Auth } from '@maroxy/auth-ui-svelte'
const supabase = createClient(
'<INSERT PROJECT URL>',
'<INSERT PROJECT ANON API KEY>'
)
</script>
<Auth supabaseClient={supabase} />
And voila we're done! This will give you the bare minimum of what you'll need to get started with supabase-auth-ui. In order to add styling to your Auth component checkout our full documentation here
FAQs
Supabase Auth UI is a collection of pre built UI components that work seamlessly with @supabase/auth-helpers.
We found that @maroxy/auth-ui-svelte demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.