This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Markus Ölhafen
Posted Jul 23 - Read on Facebook

Hey guys,

I'm trying to get real data from strava api (or any oAuth process), but when requesting the accesstoken with xmlhttprequest I'm getting the error "Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin"

Does anybody have an idea how to solve this?

https://framer.cloud/Sk0N0l2Ee

2 Comments

Eelco Lempsink

When using 3rd party HTTP APIs in the browser you usually must use a CORS proxy, like https://crossorigin.me

Sigurd Tapio Mannsåker

You can also turn off cross-origin restrictions, at your own risk :) In Safari, that's under the dev menu that you can enable in preferences.

Read the entire post on Facebook