Skip to content

LTI_Message_Launch get_public_key method issue due to JWK changes #72

Open
@ThomasDumazet

Description

@ThomasDumazet

The method get_public_key returns openssl_pkey_get_details(JWK::parseKey($key)), but we encountered an error saying openssl_pkey_get_details() expects parameter 1 to be resource, object given.
After investigation, we discovered that firebase has changed the return type for JWK methods in January 2022.
The lti-1-3-php-library library doesn't require firebase/php-jwt but fproject/php-jwt that doesn't show these changes.
The problems start when the project using the lti-1-3-php-library library requires the firebase/php-jwt library as both of firebase/php-jwt and fproject/php-jwt libraries use the same namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions