feat(adapters): add SurrealDB adapter#6251
Conversation
|
Someone is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
19c6807 to
3be7bb7
Compare
|
I'm gonna test this today, thanks for the contribution. :) |
|
@Sacramentix thanks! I added it to a side-project hosted on vercel (nextjs) with SurrealDB on AWS Fargate + EFS. It works well for a 1 minute, then I get logged out… If I try to log in again I get this error "Try signing in with a different account". If I try after a while it works back again. Running it locally works fine. I haven't had the time to debug this, hopefully today or tomorrow. This PR is in draft since I haven't added the documentation in the README. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Use stateless DB connection
Update surrealdb-rest-ts
|
Hey team! I don't know to formally contribute to these but I just managed to get the above adaptor working with a the new AuthJS for Sveltekit - with some minor tweaks, setup in the "Sveltekit" way. Took a long time to figure it out so I documented it here (along with my noob struggles/errors): https://gist.github.com/hgoona/ad5d6fcfa446a7a56b29a977861747eb Hope the code structure can be useful to other Sveltekit / AuthJs / SurrealDB users! 💪🏾 ^consider my above as a "test" to vouch for @martinschaer work👏🏾👏🏾👏🏾 |
|
Hi all, I'm wondering if there is a possibility of adding surrealdb scope authentication to this? The idea being that an authenticated user can then access the database from the frontend directly. |
|
@rvdende can you open a separate discussion for your question? 🙏 |
|
Is the installation/setup page for surrealDB going to be updated? Right now, the adapter page is empty. |
☕️ Reasoning
Adding a SurrealDB adapter.
🧢 Checklist
🎫 Affected issues
Fixes: INSERT_ISSUE_LINK_HERE