I am using a Java wrapper for Spotify and I am trying to find a way to get the authorization code from the redirect URI so I can use it when requesting an access token. I am new to OAuth so any help would be great! Thanks!
I am able to copy the code from the browser redirect and hard code it into my code.
code
is a QueryString parameter supplied after the initial auth needs to be exchanged in your server-side code for the access/refresh tokens. There is a recommended verification process to in this flow.