Skip to content

Commit

Permalink
Merge pull request #38 from seanbirchall/development
Browse files Browse the repository at this point in the history
UPDATEL refresh
  • Loading branch information
seanbirchall authored Nov 27, 2024
2 parents f436406 + c90da9d commit 1960dde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ app.get('/refresh', async (req, res) => {
maxAge: 3600 * 1000, // 1 hour
});

return res.status(200).send('Refreshed');
} catch (error) {
// Refresh token is invalid or expired
res.clearCookie('access_token');
Expand Down

0 comments on commit 1960dde

Please sign in to comment.