Frage

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?

War es hilfreich?

Lösung 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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top