Skip to content

Commit

Permalink
Merge pull request #216 from kinde-oss/fix/remove-dormant-tokens
Browse files Browse the repository at this point in the history
fix/remove-dormant-tokens
  • Loading branch information
evgenyk authored Oct 3, 2024
2 parents e946305 + a77cef1 commit f04f843
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 f04f843

Please sign in to comment.