Skip to content

Metadata appear twice #109

Open
Open
@aeon3k

Description

@aeon3k

Hi,

when I add urn:zitadel:iam:user:metadata to the scope, the http://localhost:8080/oidc/v1/userinfo endpoint fetches the following.:

...

 "urn:zitadel:iam:user:metadata": {
        "cid": "MTI",
        "id": "ODQ",
        "ssss": "c2Rxcw"
    }

Great.
But this.$zitadel.oidcAuth.userProfile returns the metadata object twice:

...

"urn:zitadel:iam:user:metadata": [
    {
      "cid": "MTI",
      "id": "ODQ",
      "ssss": "c2Rxcw"
    },
    {
      "cid": "MTI",
      "id": "ODQ",
      "ssss": "c2Rxcw"
    }
  ]

The problem lies in the underlying component "https://github.com/DuendeArchive/identity-model-oidc-client-js" which is not maintened anymore.
I just wanted to raise the issue if someone stumbles into the same problem. Sadly, both the underlying components are outdated vue-oidc-client and oidc-client-js.

Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    📨 Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions