Looking for someone to help me implement Directus and Authjs (next-auth v5) and refresh tokens

Hey there, I am positively ripping my hair out :) I have yet to find anyone to help me with this issue nor any guide or docs that helps it either. If you've not heard of Directus it's a headless CMS with lots of fun databasing tools. It's basically supabase or prisma but with more emphasis on low-to-no code. However, many silly people like myself use it as a sort of backend to nextjs. So we can develop nice webapps for internal tools but also have no-code users be able to interact with the data through a flash CMS backend app. HOWEVER, for the absolute life of me I cannot understand why I cannot build a nextjs/t3-stack app that successfully refreshes the user's session through refresh tokens. I have read all possible docs thousands of times and even dug into the source code and I just can't understand it. I have created a repo and the first issue on it is my current doom. PLEASE someone tell me I am an idiot, a SIMPLETON, and that I have not understood the beauty that is next auth and I am missing something so blindingly obvious. Also hold my hand through it because I am sort of new (new to authjs). https://github.com/Jopgood/directus-t3-authjs
GitHub
GitHub - Jopgood/directus-t3-authjs
Contribute to Jopgood/directus-t3-authjs development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?