flipt icon indicating copy to clipboard operation
flipt copied to clipboard

Feat : Include User Identity in Git Commits / PRs Made Through Dashboard

Open parthagarwal4 opened this issue 3 weeks ago • 5 comments

Hi team,

I’ve been exploring Flipt and noticed that any updates made through the dashboard show up in Git as anonymous commits.

Is it possible for pull requests or commits created through the Flipt dashboard to include the identity of the user who made the changes? I’m currently using GitHub OAuth, so ideally the user’s GitHub identity could be reflected in the commit or PR author.

This would make git blame and audit history much clearer. Thanks!

parthagarwal4 avatar Dec 08 '25 09:12 parthagarwal4

@parthagarwal4 yeah thats something we've been meaning to do. Thank you for raising this issue. I think its definitely possible to tie the GitHub Oauth user to the commit. I will prioritize this feature

markphelps avatar Dec 08 '25 13:12 markphelps

One thing I missed is that there is a /user/emails endpoint, and if the user:email scope is provided, we can query it to retrieve all email addresses. If the user hasn’t set a public email for their profile, we can retrieve one from the list. I don't know if we want to go that route or just simple use email fallback.

erka avatar Dec 08 '25 23:12 erka

That was pretty quick did not expect this to be taken up so quickly ! Thanks a lot :)

parthagarwal4 avatar Dec 09 '25 06:12 parthagarwal4

One thing I missed is that there is a /user/emails endpoint, and if the user:email scope is provided, we can query it to retrieve all email addresses. If the user hasn’t set a public email for their profile, we can retrieve one from the list. I don't know if we want to go that route or just simple use email fallback.

If we do add this which email would we choose given the user has multiple? Maybe we make it a settings thing that the user can select which email to use from GitHub and we save it in local storage?

markphelps avatar Dec 09 '25 14:12 markphelps

I don’t have a clear idea about it. The selector looks complex and doesn’t align well with other authentication providers.

erka avatar Dec 09 '25 20:12 erka