Skip to content

Commit

Permalink
Add package extension
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexF4Dev committed Jul 11, 2024
1 parent 81cb1d6 commit f492236
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/auth/oidcClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export class CodeLoopbackClient {
}
return "";
}

/**
* Parses string into an object.
*
Expand Down Expand Up @@ -277,8 +276,7 @@ export class OidcClient {
} catch (ex) {
return null;
}
}

};
if (this._tokenInformation?.access_token) {
const payloadJson = tryDecode(this._tokenInformation.access_token);
if (payloadJson === null || payloadJson.exp && payloadJson.exp > Date.now() / 1000) {
Expand Down

0 comments on commit f492236

Please sign in to comment.