Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to bypass restricted origin domain #1

Open
RealYukiSan opened this issue Jul 14, 2023 · 0 comments
Open

How to bypass restricted origin domain #1

RealYukiSan opened this issue Jul 14, 2023 · 0 comments

Comments

@RealYukiSan
Copy link

RealYukiSan commented Jul 14, 2023

Hello @7rikka san, I see you are documented the API of bilibili SEA version in this repository.
and currently I try to implement google OAuth in my bilibili clone version, but I faced the restricted issue as shown in the image below
image

it's possible to bypass the request to allow it from localhost or other domain rather than bilibili.tv?

here's my one-tap setup:

window.onload = function () {
  google.accounts.id.initialize({
    client_id: "441520115283-sauarhnqdkqlq2oh28ae4lkmlj5skel3.apps.googleusercontent.com",
    callback: console.log,
  });
  google.accounts.id.prompt();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant