Skip to content

Commit

Permalink
fix: Changed getIdTokenClaims return type based on a change in auth0-…
Browse files Browse the repository at this point in the history
…spa-js
  • Loading branch information
jnt0r committed Dec 1, 2021
1 parent 32fc90f commit 1f71ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function loginWithRedirect (options?: RedirectLoginOptions): Promise<void> {
return client.loginWithRedirect(options);
}

function getIdTokenClaims (options?: GetIdTokenClaimsOptions): Promise<IdToken> {
function getIdTokenClaims (options?: GetIdTokenClaimsOptions): Promise<IdToken | undefined> {
return client.getIdTokenClaims(options);
}

Expand Down

0 comments on commit 1f71ec3

Please sign in to comment.