Closed
Description
Feature Description
I tried to setup gitea as a oauth provider for my new penpot instance. However I always got errors from penpot that something is wrong (described here penpot/penpot#1802). After a while of debugging, I found out, that the empty name in the user_info
response of the oauth process is causing that problems.
// GET http://myserver:3333/login/oauth/userinfo
{
"sub": "2",
"name": "",
"preferred_username": "user1",
"email": "user1@gmail.com",
"picture": "http://myserver:3333/avatar/XXXXXXXXXXXXXXXXXX",
"groups": null
}
However I feel like returning the value of preferred_username
in the name field instead of an empty name (which can cause many issues) would be a good choice.
Screenshots
No response