Question

When I authenticate the app to connect to Yammer, if the redirect_uri contains the space, for example:

redirect_uri="http://www.example.com/test url/auth"

Yammer cannot redirect uri and show a wrong page. The page shows:

We're sorry, but something went wrong.

Anyone can help?

Was it helpful?

Solution 2

I used %20 instead of space, and then used escape() to encode the url,like this: redirect_uri=escape("http://www.example.com/test%20url/auth"); It worked fine.

OTHER TIPS

You can try %20 instead of space. Maybe it helps.

Acording to RFC

One can tell that spaces are to be ignored.

The whitespace should be ignored when the URI is extracted.

So this is all I can suggest. Try %20

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top