Uncaught Failed to get parent origin from URL hash

后端 未结 1 456
失恋的感觉
失恋的感觉 2021-01-03 04:21

I am trying to setup google sign in for my web app. Currently, it is In the development state and running on http://localhost:8080/auth. I am using default Sign-In button pr

1条回答
  •  -上瘾入骨i
    2021-01-03 04:51

    I found the mistake. I had not registered my domain under Credential -> My OAuth Client ID -> Authorized JavaScript origins. By adding, it started working.

    Here are your credentials: https://console.developers.google.com/apis/credentials

    0 讨论(0)
提交回复
热议问题