Skip to content

Is Cross-Origin access possible? #842

Answered by cyrilletuzi
nmccrack37 asked this question in Q&A
Discussion options

You must be logged in to vote

No client side storage will ever allow you to access things from another origin. It would mean that any website/app could access data from any another website/app, which would be madness.

What is eventually possible is:

  • communicating between windows with postMessage
  • use subfolders on the same origin

But before considering these options, you should really reconsider. I do not know what is your use case, but it does not seem normal to want to do what you ask. Let us imagine you want to share authentication: what would be shared would be the API entry point, but it would be normal that each app rebuilds its own authentication data. For example, you can connect to Instagram with a Facebook …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nmccrack37
Comment options

Answer selected by cyrilletuzi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants