Next-Auth

If you use T3 stack with the default auth settings and Oauth providers. does it auto refresh ? Or do you have to implement things for it?
6 Replies
Zion
Zion10mo ago
you mean token refreshing for the providers?
sommeeer
sommeeer10mo ago
yeah
Zion
Zion10mo ago
its not, but its pretty simple to implement. they have a guide here https://authjs.dev/guides/basics/refresh-token-rotation, you need to do some tweaking depending on your provider
sommeeer
sommeeer10mo ago
alright
Zion
Zion10mo ago
updated the link
sommeeer
sommeeer10mo ago
alright
Want results from more Discord servers?
Add your server
More Posts
Struggling to Integrate Stripe for Payments in TypeScript Next.js E-Commerce AppHello everyone, I've been working on a T3 app and I'm having trouble integrating Stripe for paymentcontainerizationIm thinking about implementing multiple techs/languages in a monolith. Does the containerization makIssue with UploadThingI'll start saying that uploadThing is 🔥 I'm trying to add a cron job to delete all unlinked images.Adding roles to Next Auth when using Discord or Facebook provideeHow can I add a role to a user. I have 2 admins and the rest are normal users.How to make a lists of multiple data types with overlapping IDsI have types `Foo` and `Bar` and I want to show a list containing elements of both. The problem is tHydration Failed Error in Next.js: Mismatch Between Server and Client Rendered HTMLHello fellow developers, I've been working on a Next.js application, and I've encountered a "HydratHow to implement session-based auth in NextJS13 without services like Nextauth/clerk/supabase etcI want to have session based authentication for my small SaaS prototype side projects, and I want toFetching data from API endpointsIs there a way to fetch data from client Component without exposing API endpoints on frontend?Database Table Design/Layout for Analytics type data?I am looking to store views and clicks, with the possibility of other types of data moving into the Typescript errors with `cloneElement`Hi all 👋 So while building my app I faced an issue that really put my UI at test. As I am sure man