Skip to content

bug: Profile scopes not available #137

@NhProGamer

Description

@NhProGamer

Describe the bug

When you has the default webserver gin code and when the logged user has attributes like family_name, the server does not seems to show that value, when i change the struct UserInfoResponse and i add
FamilyName string json:"family_name" the server send me the attribute

Expected behavior

The server should correctly send me that info

How to reproduce?

Use the default golang example gin server, login with a user that have profile attributes like that
{
"familyName": "John",
"givenName": "Doe,
"nickname": "NhPro"
}

Context

  • [ X ] Self-hosted, Logto version = latest
    • [ X ] Container (Docker image)
    • Lib version 1.0.6

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