Something went wrong when authenticating the app to connect to Yammer
-
23-12-2019 - |
题
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
不隶属于 StackOverflow