No token type received when using implicit grant flow

I am getting that type of URL in my response.

I’m using a Swift iOS library called p2_OAuth2. When authorization is done, it’s supposed to return a success reply, along with all the parameters that should be passed from Twitch. However, instead it’s throwing an error related to no token type being received.

I hope that explains it better, I’m having trouble understanding the problem really itself as well.