ajax - Retrieve data from crossdomain api with authentication -


i wanted know, how proper way data javascript cross domain api have authentication? far, know jsonp not option because browser prompt user perfom manual authentication. try angular , i'm pretty new it.

it's sure @ point mix many concepts, i'm tired , confused trying achieve without proper knowledge. main hihglight basic concepts on matters.

cors can used modern alternative jsonp pattern, though may not solve issue browser prompting user.

you may need clarify browser prompt can use jsonp without browser prompts. time have known browser prompt when making http:// jsonp call https:// page. security feature of browsers , can solved serving jsonp endpoint on https.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -