質問

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?

役に立ちましたか?

解決 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.

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top