1

我正在做一个前端繁重的网络应用程序,它已经使用纯 Javascript进行 Facebook 登录。

现在我想包含 Mozilla Persona,我尝试使用这个 URL 作为验证器:

https://verifier.login.persona.org/verify

但是浏览器抱怨没有'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 404.

我知道如果我让我的验证器启用 CORS,那么这将得到修复,但我的问题是我们可以使用上面的 URL 进行纯 Javascript Persona 验证吗?

4

0 回答 0