I've set "User authorization callback URL" in my "Github App" settings and when a user installed my app, they are not taken to that URL.
- User goes to https://github.com/apps/[my app name]/installations/new
- User select which repos my app has access to, clicks "Install"
- User is then taken to https://github.com/settings/installations/xxxx
I expected the user to be taken to the URL I've entered for "User authorization callback URL" not taken to the github installations page.
I tried to set the "Setup URL (optional)" and this gives me the desired behavior.
What is "User authorization callback URL" for?
Thanks for being here! Per the docs did you set up a route to specify what the callback should do?
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
Yes, my server is ready to accept the callback URL. However, Github is not redirecting the user to the callback URL. It's not a matter of 404 as mentioned in your link. Github is redirecting back to Github, not my site.