-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
good first issueLikely to be an easy fixLikely to be an easy fixhacktoberfesttype/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
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": "[email protected]",
"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
luwol03
Metadata
Metadata
Assignees
Labels
good first issueLikely to be an easy fixLikely to be an easy fixhacktoberfesttype/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.