Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: KindeClientSDK::getClaims can return null, but getClaim can't handle it #40

Open
4 tasks done
kurucu opened this issue Apr 16, 2024 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@kurucu
Copy link

kurucu commented Apr 16, 2024

Prerequisites

Describe the issue

Under some (so far unknown) circumstances, there is an error on this line, as $claims passed from the line above is null.

Some checking needs to be performed, and a meaningful exception raised when those checks fail, or sensible defaults passed.

Library URL

https://github.com/kinde-oss/kinde-php-sdk

Library version

1.2.3

Operating system(s)

macOS

Operating system version(s)

macOS Sonoma

Further environment details

Using as part of a PHP/Laravel application, and getUserOrganizations() is being called on a request subsequent to the login request.

Reproducible test case URL

No response

Additional information

No response

@kurucu kurucu added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant