D
D
Dmitry2019-03-29 11:36:10
JavaScript
Dmitry, 2019-03-29 11:36:10

Whose side is the problem with JWT authorization and CORS?

I have never done JWT authorization before. I was given a site, login and password for jwt authorization. I do authorization via Xhr, I get the error

"Access to XMLHttpRequest at ' https://blablabla.ru/ ' from origin ' localhost:3000 ' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."

On which side is this blocking? From my browser or from the site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Skorokhodov, 2019-03-29
@dimoff66

From the server side. Does not return the Access-Control-Allow-Origin header

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question