Brick
Available
Free
Supabase client and auth middleware
- Version
- 0.1.0
- Database part
- No
The contract
Takes a server function call. Gives it the same signed-in user and the same database access rules.
Settings
| Name | What it does |
|---|---|
| allowAnonymous | Set to true to let guest sessions through. Defaults to false. |
| confirmWithAuthService | Set to true to ask the auth service on every call whether the session still stands. Defaults to false. |
| settingNames | Other names for the three server settings, for an app that stores them differently. |
Requires
This block works on its own.
Live demo
Choose what the request carries, then call the server function.
This runs the block's own check in your browser, with real signatures and an auth service that lives in this page. Nothing is sent anywhere. Every refused caller is told the same thing, whatever the reason.