Hotmail error: The provided value for the input parameter 'redirect_uri' is not valid...

1,184 views
Skip to first unread message

NonoX

unread,
Feb 2, 2012, 9:46:22 PM2/2/12
to Google Identity Toolkit
Hi!
I'm developing a new web app using the Google Identity Toolkit, all
went well until I tried my hotmail account (as expected), I get this
error in the pop up window:

Oops, there was a problem
The provided value for the input parameter 'redirect_uri' is not
valid. The value must be an absolute URL whose scheme is http:// or
https://.

And this is the URL:
https://oauth.live.com/error?error=invalid_request&error_description=The%20provided%20value%20for%20the%20input%20parameter%20%27redirect_uri%27%20is%20not%20valid.%20The%20value%20must%20be%20an%20absolute%20URL%20whose%20scheme%20is%20http%3a%2f%2f%20or%20https%3a%2f%2f.&locale=en-US&display=Popup&theme=Default

I've configured the "Redirect domain" parameter in
"manage.dev.live.com" with my dyndns and I've configured the Google
API Console with the Client ID and Client secret provided by
Microsoft.

Can you help me?

THANKS

Jinhui Du

unread,
Feb 2, 2012, 10:03:40 PM2/2/12
to google-iden...@googlegroups.com
Can you share your callback URL? You may hide some part with '*' if necessary. The widget sends a RPC to the server to fetch the "authUri", you can find the response in the browser developer tools. e.g. in network tab for chrome to see the "redirect_uri".

NonoX

unread,
Feb 3, 2012, 9:10:09 AM2/3/12
to Google Identity Toolkit
When I was preparing the answer for your post, I realized I had left
the localhost instead of my dyndns host name in javascript code for
window.google.identitytoolkit.setConfig(), so, I changed the localhost
to my dyndns and everything is working properly now.

Sorry for my mistake!

Again Jinhui, thanks for your time and your quickly response.

NonoX

On Feb 3, 12:03 am, Jinhui Du <dujin...@google.com> wrote:
> Can you share your callback URL? You may hide some part with '*' if
> necessary. The widget sends a RPC to the server to fetch the "authUri", you
> can find the response in the browser developer tools. e.g. in network tab
> for chrome to see the "redirect_uri".
>
>
>
>
>
>
>
> On Fri, Feb 3, 2012 at 10:46 AM, NonoX <nbul...@gmail.com> wrote:
> > Hi!
> > I'm developing a new web app using the Google Identity Toolkit, all
> > went well until I tried my hotmail account (as expected), I get this
> > error in the pop up window:
>
> > Oops, there was a problem
> > The provided value for the input parameter 'redirect_uri' is not
> > valid. The value must be an absolute URL whose scheme is http:// or
> > https://.
>
> > And this is the URL:
>
> >https://oauth.live.com/error?error=invalid_request&error_description=...
Reply all
Reply to author
Forward
0 new messages