Spotify API Auth callback URI

I’m using spotify API to authenticate, and InappBrowser to connect on url and generate JSON the API works fine and I got the JSON on redirect URI
But how can I use this data and authenticate? I’m trying to make a GET request on callback URI, but doesn’t work