I am using Spring OAuth2 to enable login with SoundCloud. I already registered my callback url. Therefore, when I use Spring OAuth2 and explicitly redirect the redirect URL, it forced me to process it manually (providing some controller for it).
I put it in application.yml:
pre-established-redirect-uri: https://localhost:8443/callback use-current-uri: false
and I got 404 with:
https://localhost:8443/callback?code=...
Can I force Spring OAuth2 to automatically obtain an access token without processing a callback?
source share