Forge Generator seems to be relying on the Email in KeyCloak Token when setting up the Git Commit Author. This Email is the KC account email and might not be the same as GitHub knows. The end result is it might seem like 'someone else' is making the commit than the authorized user as there is no real link between authorization and git author on Github.
Forge Generator should call api.github.com/user and use the 'email' provided there, and if noone is set(no public email set), call api.github.com/api/user/email and use the primary one.
Forge Generator seems to be relying on the Email in KeyCloak Token when setting up the Git Commit Author. This Email is the KC account email and might not be the same as GitHub knows. The end result is it might seem like 'someone else' is making the commit than the authorized user as there is no real link between authorization and git author on Github.
Forge Generator should call api.github.com/user and use the 'email' provided there, and if noone is set(no public email set), call api.github.com/api/user/email and use the primary one.
Related https://github.com/openshiftio/openshift.io/issues/399