I am writing oauth client in javascript using the page, after user enters credentials on the auth server, it tries to redirect back to my javascript page (using: window.location.replace) and fails with ‘permission denied’
what are the restrictions on windows.location.replace(…) ?
Javascript file is stored locally.
ERROR Details
“permission denied” comes in IE,
while Mozilla FF shows:
Error: uncaught exception: [Exception… “Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.replace]” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location:
Seems like you have to upload your file(s) to your server first!