I have ruby on rails app and I'm using Octokit to connect to an enterprise GitHub (GHE) that I'm hosting myself.
Due to certain constraints, new users are signing up on my app and I create accounts for them on my GHE instance, which means I never have access to their GHE passwords.
Using an admin account for my Octokit client, I need to be able to create repos for my users, only having access to their GHE username.
Anyone have any ideas how to do this? Is there a way to pretend to be the user, or to create the repo and then transfer ownership? I know I can create the repo under the admin account and add the user as a collaborator, but I would like to just create the repo under the user's account in the first place.
Thanks!