next-auth
next-auth copied to clipboard
fix: update `@auth/solid-start` to use new APIs
☕️ Reasoning
- Use returned
signIn/signOut/auth/handlermethods fromSolidAuth() - Expose
@auth/solid-start/clientmethods for client-side login/logout - Use Solid-start's new Middleware to append session onto
event.locals.auth - Update solid usage to new shared fn's like
setEnvDefaultsfrom core - Export
providers/*and additional types from solid package as well - Add
apps/dev/solid/*app for development
TODOs:
- 2 type issues open.
- The
res.headers.getSetCookie()one is weird because I'm 99% sure its aResponseand it also doesn't pop up in the editor. - The other one I have no idea yet where its coming from yet. Seems to be an internal solid thing maybe, but I also don't know where I'm causing it to happen exactly. Have to do some more digging
- The
- Lots of cleanup I'm sure
🧢 Checklist
- [ ] Documentation
- [ ] Tests
- [ ] Ready to be merged
🎫 Affected issues
📌 Resources
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| auth-docs | ❌ Failed (Inspect) | Apr 8, 2024 9:42pm |
2 Ignored Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| next-auth-docs | ⬜️ Ignored (Inspect) | Visit Preview | Apr 8, 2024 9:42pm | |
| nextra-docs | ⬜️ Ignored (Inspect) | Visit Preview | Apr 8, 2024 9:42pm |
Update, got session loading during SSR in FE:
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@types/[email protected] | None | 0 |
9.1 kB | types |
| npm/@types/[email protected] | None | 0 |
6.67 kB | types |
| npm/[email protected] | environment, filesystem | 0 |
24.9 kB | motdotla |
| npm/[email protected] | environment, filesystem, network, shell | 0 |
503 kB | andris |
| npm/[email protected] | network | 0 |
153 kB | panva |
| npm/[email protected] | environment | 0 |
316 kB | gnoff |
🚮 Removed packages: npm/@graphql-typed-document-node/[email protected], npm/[email protected]