Question Details

Answered
Login Integration with WEB

Hi.. I am using your social api to integrate my web app but I am unable to receive the authorization code as it says website blocked due to CORS policy.. Could you help me regarding this issue.. Language : Angular 5

0
Edited: 2 years ago
Profile picture
Divya Anam

Answers

2
Profile picture
Nilpo [-TBT-] Ⓜ️��️✝️
Posted: 2 years ago

Can you provide the relevant parts of your code?

Profile picture
Storyteller
Posted: 1 years ago

Check that your CORS policy is settup to allow to call LINE API. This should be where you set headers for the browser or in browser policy.

Sources: https://daveceddia.com/access-control-allow-origin-cors-errors-in-angular/ https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS https://stackoverflow.com/questions/20786405/angularjs-with-cors-and-custom-headers https://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin

Are you sure? question.vm