Closed msimonc closed 6 years ago
Updating: If I use Axios as the client http library it currently fails, but if I use fetch it works.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Thanks, the example runs great, but instead of using the Jade pages, if I call the /auth/twitter endpoint from from a seperate app, I get back from Twitter: Failed to load https://api.twitter.com/oauth/authenticate?oauth_token=lXaZ1gAAAAAaPAAX-tfXY: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
But perhaps I'm "doing it wrong". For this to work from a seperate SPA, should I go to twitter from the client, or implement my api to the twitter api? Thanks!!