I am trying to use the Patreon API.
I already have the Client ID and the Client Secret etc.
When I open the oauth url with the client id and client secret passed into it. e.g.
var url = 'https://www.patreon.com/oauth2/authorize?response_type=code&client_id=' + clientid +'&redirect_uri=' + redirecturl +'&scope=<optional list of requested scopes>&state=<optional string>'
I do not get to page that allows me to login with my Patreon account but instead I go to the redirect URL with some parameters passed into it:
e.g. http://localhost:3000/?error=invalid_scope&state=%3Coptional+string%3E
What does this mean and what am I doing wrong?