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

OAuth Fails To Authenticate With Non Owner User #2

Open
user1342 opened this issue Apr 28, 2024 · 0 comments
Open

OAuth Fails To Authenticate With Non Owner User #2

user1342 opened this issue Apr 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@user1342
Copy link
Collaborator

To summarise the Canary Chrome extension reads HTML content, sends it off to the Google Vertex API, and has it analysed by the Gemini model. To do this I'm using Google OAuth 2.0, of which I've had my OAuth screen accepted for public use.

This works perfectly when I authenticate through the same email that is connected to my Google cloud account, however, when I authenticate with any other email address, it authenticates and I get a token back, however when using the API I then get a 403 error back indicating that the user does not have access to the API/ endpoint.

I'm assuming that there is something I need to do here in addition to what I've already done, maybe in setting up a service account or something similar. However, I can't find any documentation or support on what I'm missing.

If anyone has any support or advice for tackling this error it would be appreciated. Advice from Google support so far has not solved the issue: https://www.googlecloudcommunity.com/gc/Cloud-Hub/OAuth-Fails-To-Authenticate-With-Non-Owner-User/td-p/734545

Code here: https://github.com/CartographerLabs/Canary/blob/main/scripts/background.js
Chrome extension here: https://chromewebstore.google.com/detail/canary/ckbdhndglkicbpcnebjlglajljogaclj

@user1342 user1342 added bug Something isn't working help wanted Extra attention is needed labels Apr 28, 2024
@user1342 user1342 self-assigned this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant