Skip to content

bug: penpot.currentUser returns an empty id and and a null name #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
a-ng-d opened this issue Apr 23, 2025 · 2 comments
Closed

bug: penpot.currentUser returns an empty id and and a null name #197

a-ng-d opened this issue Apr 23, 2025 · 2 comments
Labels
bug Something isn't working managed on taiga This issue has been moved to our project at Taiga.io

Comments

@a-ng-d
Copy link

a-ng-d commented Apr 23, 2025

Steps To Reproduce

Hello Penpot team!

The steps are simple:

  • Add the user:read permission in the manifest.json
  • Call penpot.currentUser in plugin.js and log what it returns
  • Look at the console

Expected behavior

I expect the currentUser object to return my id, name, and avatarUrl.

Actual behavior

currentUser returns:

{
  ...currentUser,
  id: '',
  name: null,
  avatarUrl: "data:image/png;base64…",
}

Screenshots or video

Image

Desktop (please complete the following information)

  • OS: macOS 15.4 (24E248)
  • Browser: Arc Version 1.91.0 (61725) - Chromium Engine Version 135.0.7049.96

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

Frontend Stack Trace

Backend Stack Trace

Additional context

No response

@a-ng-d a-ng-d added the bug Something isn't working label Apr 23, 2025
@madalenapmelo-kp madalenapmelo-kp added the managed on taiga This issue has been moved to our project at Taiga.io label May 12, 2025
@madalenapmelo-kp
Copy link

Hi @a-ng-d,

Thanks for reporting this! We've added this to our backlog on Taiga so that we can look further into it, you can find the details here: https://tree.taiga.io/project/penpot/issue/11057

@madalenapmelo-kp
Copy link

This issue has been fixed and the fix will be released soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

2 participants