Last post Aug 24, 2018 12:31 AM by bruce (sqlwork.com)
Aug 22, 2018 12:29 AM|amendoza29|LINK
Good Day Everyone
I have successfully created a 2 test site with CORS, but both has no authentication, then after that I create 2 sites for my project, one has a authentication (custom authentication, based on our company's user credential), and the other one which is Site
2 has no authentication, which i create just to if it's working as Site 1 has a authentication. but when I start to run the two sites, there is no error visible on the page on the Site 2, but if you look at the console, console show the html code on Site
1's Login page.
I believe this is because it needs a authentication, will there be a way to access with authentication? will i put i code of authentication on my ajax, and if there is a authentication, can this also be called on the Site 2's controller?
Thanks and Regards
Aug 23, 2018 05:41 AM|Brando ZWZ|LINK
but when I start to run the two sites, there is no error visible on the page on the Site 2, but if you look at the console, console show the html code on Site 1's Login page.
According to your description, I couldn't understand your issure clearly.
Cold you please which web api site need authentication? which web client site has the login page?
What you mean about authentication could be called on the Site 2's controller?
Aug 24, 2018 12:25 AM|amendoza29|LINK
The site who has a Login page (FormsAuthentication) and also the source of the WEB API web service
No Login page or Authentication, the one who looks up on Site 2's WEB API.
Aug 24, 2018 12:31 AM|bruce (sqlwork.com)|LINK