Skip to content

bug: 如果用户的姓名填写中文,例如“测试”两个中文字,就会报错 #29

@digood-dev

Description

@digood-dev

Describe the bug

TypeError
vendor\logto\sdk\src\LogtoClient.php:96
Only arrays and Traversables can be unpacked

Expected behavior

应该响应正常的用户JSON数据

How to reproduce?

使用self::client()->getIdTokenClaims()->jsonSerialize()时会发生

Environment

Self-hosted (Docker image)

Screenshots

Image

Metadata

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