Javascript/API

[GSI] The given origin is not allowed for the given client ID 에러

포트 있는 거 없는거 두개 모두 해줘야 합니다!

 

When you perform local tests or development, you must add both http://localhost and http://localhost:<port_number> to the Authorized JavaScript origins box. The Referrer-Policy header must also be set to no-referrer-when-downgrade when using http and localhost.

 

공식문서

 

 

참고

https://stackoverflow.com/questions/68438293/the-given-origin-is-not-allowed-for-the-given-client-id-gsi

728x90
반응형