Trying to similarly resolve the invalid scope issue....I get redirected but with error message in redirect URL.
If I change the second dash%3Areplenish with dash_replenish, it responds with error in scope data list as other people have mentioned, rather than the invalid scope error.
Any ideas? It sounds like you guys are manually enabling accounts, is this the case?