Changing authorize endpoint to the one stated in Linkedin development authentication page.

When going through the flow, I kept hitting
https://api.linkedin.com/uas/oauth/authorize url. However, the link
kept asking me to allow access even though I had stated to allow. After
changing the url, I went through the same flow and only the first time
that my application required access perms it asked to allow. However,
once I gave permissions and I tried the flow once again, it just
redirected to my authenticated callback url.