Skip to content

Commit

Permalink
Merge pull request #154 from thivi/feature/asgardeo_updtaes
Browse files Browse the repository at this point in the history
Fix ID token validation bug
  • Loading branch information
thivi authored Sep 17, 2021
2 parents d8a1423 + c7cf801 commit 09d41f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/core/authentication-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export class AuthenticationCore<T> {
"AUTH_CORE-GSOU-NF02",
"authentication-core",
"getSignOutURL",
"ID token n0t found.",
"ID token not found.",
"No ID token could be found. Either the session information is lost or you have not signed in."
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/helpers/authentication-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class AuthenticationHelper<T> {
jwk,
(await this._config()).clientID,
issuer,
AuthenticationUtils.getAuthenticatedUserInfo(idToken).username,
CryptoUtils.decodeIDToken(idToken).sub,
(await this._config()).clockTolerance
)
.then((response) => response)
Expand Down

0 comments on commit 09d41f3

Please sign in to comment.