Closed mrkaspa closed 6 years ago
Well, that's probably something to tell Instagram then :upside_down_face: This library merely implements the RFC-6749 and I am (once again) sad to see big companies not following a standard that is that well written :/
As explained in #3, I am not really willing to alter the library to cope with faulty implementation of different services; I hope you understand why. I am happy to fix bugs (if any) and add abstractions that would make things easier without altering the original essence.
Having said that, you can probably work-around that by adding yourself this parameter to the URL before giving it to elm-oauth2 for parsing ?
The url instagram returns does not have a token_type with bearer value it doesnot return this params, the url is this:
http://your-redirect-uri#access_token=ACCESS-TOKEN