Closed peterphanouvong closed 1 month ago
The changes involve modifications to the src/handlers/auth.js
file, including adjustments to import statements and the routeMap
object, which now includes a refresh
function while excluding a setup
function. Additionally, a new file, src/handlers/refresh.ts
, has been created to define an asynchronous refresh
function that manages token refreshing for a router client, handling success and error scenarios.
File | Change Summary |
---|---|
src/handlers/auth.js |
Rearranged import statements; added refresh to routeMap and removed setup ; optimized structure. |
src/handlers/refresh.ts |
Introduced a new asynchronous refresh function for handling token refreshing and error management. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Explain your changes
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.