Resolver problemas com integração de login via Google, Facebook, Stripe

Закрито Опубліковано %project.relative_time Оплачується при отриманні
Закрито Оплачується при отриманні

Estou desenvolvendo uma extensão para o Google Chrome, utilizando Vite, Chakra UI e TypeScript.

Estou tendo problemas para implementar o sistema de login utilizando validação via Google, Facebook e também problemas na integração com a Stripe para meio de pagamento.

Ao tentar carregar scripts externos, estou enfrentando problemas relacionados à Política de Segurança de Conteúdo (CSP), resultando em erros que impedem o carregamento desses scripts. Os erros são:

Erro no carregamento do script da API do Google ao fazer login:

[login to view URL] Refused to load the script '[login to view URL]' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Explicação:

Esse erro ocorre porque a política de segurança definida impede o carregamento de scripts de fontes externas, permitindo apenas scripts do próprio domínio ('self'). O script da API do Google é bloqueado por essa regra.

[login to view URL] Error signing in with Google FirebaseError: Firebase: Error (auth/internal-error).

at J_ ([login to view URL]:613)

at Gs ([login to view URL]:68)

at [login to view URL] ([login to view URL]:280)

Desconheço o erro quando resolvo o erro de cima.

Erro no carregamento do script do Stripe ao chamar o Stripe:

[login to view URL] Refused to load the script '[login to view URL]' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* [login to view URL]:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Explicação:

Similar ao primeiro erro, a política de segurança atual permite apenas scripts do próprio domínio e alguns scripts adicionais com regras específicas, mas não permite o carregamento do script do Stripe.

[login to view URL] Uncaught (in promise) Error: Failed to load [login to view URL]

at HTMLScriptElement.<anonymous> ([login to view URL]:9597)

(anonymous) @ [login to view URL]

Erro desconhecido quando resolvo os erros primários.

JavaScript Typescript

ID Проекту: #38346178

Про проект

6 заявок(-ки) Дистанційний проект Остання активність 4 місяці(в) тому

6 фрілансерів(-и) готові виконати цю роботу у середньому за €179

MashoodurRehman1

I am an expert in web development with experience in integrating login systems via Google, Facebook, and Stripe. I can resolve the Content Security Policy (CSP) issues you are facing and ensure the smooth integration o Більше

€250 EUR за 2 дні(-в)
(101 відгуків(и))
7.5
POOJABOHRA51997

Hi there, I can develop Browser/Chrome Extension according to your requirements. I have developed 50+ complex Browser/Chrome Extensions till now. Please ping me back for further discussion. Looking forward to hearing f Більше

€250 EUR за 4 дні(-в)
(4 відгуків(и))
0.0
david0734

Hello, José Renato Velasco Gomes V. I am very interested in your project "Resolver problemas com integração de login via Google, Facebook, Stripe" and I believe that my skills and experience make me a strong candidate Більше

€135 EUR за 1 день
(0 відгуків(и))
0.0
carlos0595

As a seasoned developer with broad experience and a deep understanding of JavaScript and TypeScript, I believe I am ideally suited to resolve the integration issues you're experiencing with login via Google, Facebook, Більше

€140 EUR за 1 день
(0 відгуків(и))
0.0