Installing or authenticating to github app


I am trying to replace my OAuth app with a Github app.

The problem I’m having is this:

On first installation I have no problem using

But on the second time it just takes the user to the configuration and does not redirect back to the app.

I tried to find an API to install if not installed or redirect to oauth if installed but I can’t find any.

Thank you


Hey Dan, if I understand correctly, your saying that after installation, the user can no longer access the URL: “”? What is the workflow here? Can you point them back to the URL of the app on the market place or is that not the intended workflow? 

For migrations from Oauth apps the workflow must happen on-site since you need the access_token there.

It’s possible to get only the access_token with the following method:${clientId}
But it doesn’t create a Github app installation.