Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to use windows live api on local

HI,

I have issue in using Windows live API

Iam using asp.net, am not able to use the callback url on local

The signin link is working only if i provide live url, but i cant able to use local host.

Please help

like image 945
Navin Leon Avatar asked Feb 25 '23 14:02

Navin Leon


1 Answers

It may help someone else also -

Please add following entry in hosts file (located at [%system drive%]\Windows\System32\drivers\etc)

127.0.0.1  www.example.com 

#[Please replace example domain with your actual one]

Windows live server expects your return url to have http:// in it but chrome does not add it and IE do add it, I realized this after wasting sometime.

This should get you through testing api on your local machine.

like image 73
Mandeep Janjua Avatar answered Mar 06 '23 18:03

Mandeep Janjua