Skip to content

Added missing null in the type signature of getIdentityClaims in oauth-service.ts#1431

Open
md-redwan-hossain wants to merge 1 commit into
manfredsteyer:masterfrom
md-redwan-hossain:patch-1
Open

Added missing null in the type signature of getIdentityClaims in oauth-service.ts#1431
md-redwan-hossain wants to merge 1 commit into
manfredsteyer:masterfrom
md-redwan-hossain:patch-1

Conversation

@md-redwan-hossain

Copy link
Copy Markdown

null is being returned but missing in type signature. This PR solves this issue.

public getIdentityClaims(): Record<string, any> {
  const claims = this._storage.getItem('id_token_claims_obj');
  if (!claims) {
    return null;
  }
  return JSON.parse(claims);
}

@davidmccoy-8451

Copy link
Copy Markdown

Ran into the same issue, this should be included

@L-X-T L-X-T force-pushed the master branch 4 times, most recently from a54ea92 to 078415b Compare December 2, 2024 12:32
@L-X-T L-X-T force-pushed the master branch 2 times, most recently from e1fc6c5 to 5d10af2 Compare June 30, 2025 12:18
@L-X-T L-X-T force-pushed the master branch 2 times, most recently from 1421146 to 4dff3c3 Compare June 11, 2026 07:23
@L-X-T L-X-T force-pushed the master branch 5 times, most recently from 581dc7a to 328e014 Compare June 26, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants