next-auth
next-auth copied to clipboard
feat: client side session hook for SolidStart
NOTE:
- It's a good idea to open an issue first to discuss potential changes.
- Please make sure that you are NOT opening a PR to fix a potential security vulnerability. Instead, please follow the Security guidelines to disclose the issue to us confidentially.
☕️ Reasoning
🧢 Checklist
- [ ] Documentation
- [ ] Tests
- [ ] Ready to be merged
🎫 Affected issues
Please scout and link issues that might be solved by this PR.
Fixes: INSERT_ISSUE_LINK_HERE
📌 Resources
as of 0.2.19, you cannot use server$ when using client side rendering, therefore you won't be able to pass the current logged in user from the server side to the client side when using CSR, this limits the developers and forces them to create their own logic on how to get the current logged in user. this pr adds a client side hook that will be used to fetch the current session, taken from previously next-auth and modified to get it to work nicely with solid-start.
closes https://github.com/OrJDev/create-jd-app/issues/61
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| auth-docs | ❌ Failed (Inspect) | Feb 23, 2023 at 8:01AM (UTC) |
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| next-auth-docs | ⬜️ Ignored (Inspect) | Feb 23, 2023 at 8:01AM (UTC) |