Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

What is "User authorization callback URL" for?

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?

2 Replies
Community Manager
Message 2 of 3

Re: What is "User authorization callback URL" for?

Hi @unformatt,

 

Thanks for being here! Per the docs did you set up a route to specify what the callback should do?

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 3

Re: What is "User authorization callback URL" for?

Hi AndreaG,

 

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.

 

Thanks

Matt