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

Authentication Error in Production Environment Setup #677

Open
ad201125 opened this issue Jul 22, 2024 · 0 comments
Open

Authentication Error in Production Environment Setup #677

ad201125 opened this issue Jul 22, 2024 · 0 comments

Comments

@ad201125
Copy link

ad201125 commented Jul 22, 2024

Hi @anubhavmishra , I encountered an issue while setting up the production environment as per the instructions in the README. I have added all the required auth scopes and enabled domain-wide delegation for my Google Workspace. but when I am enabling the auth block I am unable to login to the UI.
When I am using ({hermes-service-user-name}@yourdomain.com) as subject and client email= {hermes-demo}@{project-id}.iam.gserviceaccount.com, then I am getting the following error:
2024-07-23T12:50:57.531+0530 [INFO] hermes: listening on 127.0.0.1:8000...
2024-07-23T12:51:52.557+0530 [ERROR] hermes: error validating Google access token:
error=
| Post "https://www.googleapis.com/oauth2/v2/tokeninfo?access_token=ya29.a0AXooCgsuLfZQQaS-Y5z099O2Sza8cM2jKLDxUPRH-vwj2P455cES8RvGDk5eaP-G0phDBAUYfuW-N2AEQJ0g-xY0iibu7_7kGxCWco9u3rg_IVC7IRPSlBjDyoAhLBDy75Wok4mXdc2d0o6wkRD7bke8CFxyiOUdZwaCgYKAfUSARMSFQHGX2MiwdggWoUpcSE6mHpq5-Mwhw0169&alt=json&fields=%2A&prettyPrint=false": oauth2: cannot fetch token: 401 Unauthorized
| Response: {
| "error": "unauthorized_client",
| "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."
| }
method=GET path=/api/v2/products

Could you provide any potential solutions to resolve this issue?

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