Skip to content

Commit

Permalink
fix/remove-dormant-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRivers committed Oct 3, 2024
1 parent e946305 commit a77cef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export const createKindeManagementAPIClient = async (req, res) => {
let apiToken = null;

const store = sessionManager(req, res);

store.removeSessionItem('kinde_api_access_token');

const response = await fetch(`${config.issuerURL}/oauth2/token`, {
method: 'POST',
headers: {
Expand Down

0 comments on commit a77cef1

Please sign in to comment.