0

What are some sources for using ajax to login into sites that allow cross origin resource sharing?

If a person has a website how can the send a password and username to another site to login and also get information from another website?

Any good resources? Not using a server, client side only

user2330624
  • 303
  • 1
  • 7
  • 16

1 Answers1

1

If you are using jQuery then it already contains settings for basic authentication (username/password). http://api.jquery.com/jQuery.ajax/

Cross-domain ajax request basic authentication

jQuery AJAX Cross Domain with BASIC Authentication

http://techblog.constantcontact.com/software-development/using-cors-for-cross-domain-ajax-requests/

Community
  • 1
  • 1
gfrobenius
  • 3,987
  • 8
  • 34
  • 66