Closed NeuronButter closed 5 years ago
Never mind, all good! Looks like JavaScript handles \n different to other platforms. All fixed up now!
@NeuronButter How exactly did you fix this? Ive tried to pass the refresh_token with and without \n and it doesn't seem to work
I'm heading out now, but I'll upload my source code to fix it!
Thanks!
For anyone facing this issue you have to URL encode your refresh_token. You can try this website to debug https://www.urlencoder.org
Hi! I've tried passing in a refresh token, looking like this:
DbLMSKlJyqaSSdWSyEQMenkxcPKDcjY5swShRVWA93R9oE8pVnGm3qiid6E7 +ksYYRyKXaG5JF5Ip+iTmIY5LQOjbf2D9nNEdv7+KLIvTiZe7SYXX3V0Uqpv ga3CtJP79i0OXU9YZoQcY+y9cmS21SiKzRWBfntiYamSL6fU4KzTa5aUMBNv pA==
through both my app with the Fetch API in JavaScript and in Postman. The error keeps coming up with"error": "invalid refresh_token"