blitz
blitz copied to clipboard
Add default auth options to authPlugin
Closes: #3535
What are the changes and their implications?
Feature Checklist
-
adds option to define
authenticateorredirectAuthenticatedon all pages by default and override them per page / layout -
[ ] Docs
🦋 Changeset detected
Latest commit: f60f96f5d1412b6c810b1d5e94d8dda5b6ee5454
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 7 packages
| Name | Type |
|---|---|
| @blitzjs/auth | Patch |
| blitz | Patch |
| @blitzjs/rpc | Patch |
| @blitzjs/next | Patch |
| @blitzjs/codemod | Patch |
| @blitzjs/config | Patch |
| @blitzjs/generator | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This is super cool! Thank you so much for this PR.
We should also cover it in the docs and possibly also add an example to one of the apps in the apps/ folder.
@beerose will do tomorrow