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
Zion2y ago
you mean token refreshing for the providers?
sommeeeR
sommeeeROP2y ago
yeah
Zion
Zion2y 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
sommeeeROP2y ago
alright
Zion
Zion2y ago
updated the link
sommeeeR
sommeeeROP2y ago
alright

Did you find this page helpful?