App authentication redirect URI containing space won't work

Hi Stas,

The redirect URL must be urlencoded If you would like to pass
a space in the address you should pass it like this:


Where %25 encodes a percent sign. This will allow you to have spaces in
your URLs.

Sorry you’ve not had a reply to your question sooner.

Kind regards,

GraemeOn 4 April 2013 08:27, stas wrote:

Hi guys,

We’ve run into a technical issue. In a nutshell, if the redirect URI
contains space the user is not authenticated (redirected back to our app)
via FreeAgent API. Example of a valid URI which won’t work:


In this case we are redirected to

Could you guys confirm the issue or is it a deliberate restriction?


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to
To post to this group, send email to
Visit this group at
For more options, visit

Graeme Boyd
Senior Software Engineer

Web. Blog.
Twitter. @freeagent!/freeagent Facebook.

40 Torphichen Street, Edinburgh, EH3 8JB
FreeAgent Central Ltd. Registered in sunny Scotland SC316774