Skip to content

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

Open
@kurucu

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions