Answered by:
Redirect URL domain name issue

Question
-
Hi!
I have developed an ASP .NET based application that uses the REST API to browse, upload and download files from a user´s SkyDrive. The application is intended to run on multi functional printers on their integrated web browsers. My intention is to sell the application to customers who will install the application on their servers. The application is working great, so far so good, now to my concern;
My application uses the authorization code grant flow, so I must use a redirect URL. The Redirect URL that I entered when I registered my application (http://MyDomain.com) will not coincide with the domain customers use. What is the idea here? Should I register a new application for each and every customer? During development I have edited my host file to redirect the MyDomain to 127.0.0.1 but that´s not always feasible on a customer´s site and the multi functional printers don´t have a host file integrated in their machines.
Please clarify what´s intended when going live. Thank you!
Regards
JanSunday, January 29, 2012 4:14 PM
Answers
-
Hi Dare,
I've tried your suggestion. That will probably work if you can get an event when the user actually has signed in. Since my user authenticates himself in a web browser I see no way of catching the response from when the user gets signed in. Any other suggestions would be appreciated.
Regards
Jan
Janisito- Proposed as answer by Dare Obasanjo - MSFT Wednesday, February 1, 2012 1:11 PM
- Marked as answer by Janisito Wednesday, February 1, 2012 7:44 PM
Wednesday, February 1, 2012 1:11 PM
All replies
-
Hi!
I have developed an ASP .NET based application that uses the REST API to browse, upload and download files from a user´s SkyDrive. The application is intended to run on multi functional printers on their integrated web browsers. My intention is to sell the application to customers who will install the application on their servers. The application is working great, so far so good, now to my concern;
My application uses the authorization code grant flow, so I must use a redirect URL. The Redirect URL that I entered when I registered my application (http://MyDomain.com) will not coincide with the domain customers use. What is the idea here? Should I register a new application for each and every customer? During development I have edited my host file to redirect the MyDomain to 127.0.0.1 but that´s not always feasible on a customer´s site and the multi functional printers don´t have a host file integrated in their machines.
Please clarify what´s intended when going live. Thank you!
Regards
Jan- Proposed as answer by Dare Obasanjo - MSFT Tuesday, January 31, 2012 3:53 AM
- Marked as answer by Janisito Tuesday, January 31, 2012 7:49 AM
- Unmarked as answer by Janisito Tuesday, January 31, 2012 11:17 PM
Tuesday, January 31, 2012 3:53 AM -
Hi Dare,
I've tried your suggestion. That will probably work if you can get an event when the user actually has signed in. Since my user authenticates himself in a web browser I see no way of catching the response from when the user gets signed in. Any other suggestions would be appreciated.
Regards
Jan
JanisitoTuesday, January 31, 2012 11:21 PM -
Hi Dare,
I've tried your suggestion. That will probably work if you can get an event when the user actually has signed in. Since my user authenticates himself in a web browser I see no way of catching the response from when the user gets signed in. Any other suggestions would be appreciated.
Regards
Jan
Janisito- Proposed as answer by Dare Obasanjo - MSFT Wednesday, February 1, 2012 1:11 PM
- Marked as answer by Janisito Wednesday, February 1, 2012 7:44 PM
Wednesday, February 1, 2012 1:11 PM -
My app is actually running inside a web browser, so I think, as you say, there is no way for me to access these events.
Janisito- Edited by Janisito Wednesday, February 1, 2012 7:44 PM Spelling error
Wednesday, February 1, 2012 7:43 PM