mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3528] [bug]: Google login issue (ERROR [ExceptionsHandler] "expiresIn") #1201
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @J0Pstr on GitHub (Nov 9, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3528
Is there an existing issue for this?
Current behavior
I'm trying to login with my Google account and the following error 500 occurs when requesting the backend callback URL:
Steps to reproduce
Tried with the following backend images (in each case frontend/admin images were set accordingly):
I'm using a PostgreSQL v13 regarding this issue #3378 on a GKE integration.
Environment
Production
Version
Self-hosted
@aduarterengifo commented on GitHub (Jan 15, 2024):
running into the same issue self-hosting with
ENABLE_SUBPATH_BASED_ACCESS=true@aduarterengifo commented on GitHub (Jan 15, 2024):
Actually is a problem in the env file.
the comment is not being ignored.
@liyasthomas commented on GitHub (Jan 15, 2024):
@balub can you verify the comments in .env are ignored?
@senyalefoka commented on GitHub (Feb 26, 2025):
@liyasthomas, @J0Pstr I always get this error when I try to do database migration , container is always restarting
@mirarifhasan commented on GitHub (Feb 26, 2025):
@senyalefoka Eliminating the comment section from the environment will solve the problem. Use it as follows:
@senyalefoka commented on GitHub (Feb 26, 2025):
@liyasthomas and @J0Pstr after I did google oAuth I struggle to login, I get this error Error 400: invalid_scope
Request details: flowName=GeneralOAuthFlow
@mirarifhasan commented on GitHub (Feb 27, 2025):
@senyalefoka Please ensure that you have entered the client ID and client secrets correctly. Additionally, verify that the scope you configured in Hoppscotch is enabled in GCP as well.
@senyalefoka commented on GitHub (Feb 27, 2025):
@liyasthomas and @mirarifhasan now I am here "This is your new Cloud Endpoint!
This is the default response. To customize it, log in to the ngrok dashboard and update your traffic policy.
To put your app online, run the following with the ngrok agent:
ngrok http 80 --url https://default.internal" Because I used ngrok for google oAuth, so I would like to know where I made mistake to end up here
@senyalefoka commented on GitHub (Mar 3, 2025):
@mirarifhasan , @liyasthomas @aduarterengifo is hoppscotch comply with Google validation rules?
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.
You can let the app developer know that this app doesn't comply with one or more Google validation rules.
Learn more about this error
If you are a developer of Matlou, see error details.
Error 400: invalid_request
@liyasthomas commented on GitHub (Mar 3, 2025):
Hi @senyalefoka, could you please share a screenshot of the error you’re encountering? It appears there might be a problem with your Google OAuth app setup. Have you considered searching Stack Overflow for assistance for this error?
@senyalefoka commented on GitHub (Mar 3, 2025):
@liyasthomas yes I did search and nothing is working, can you help Here is code for google auth
Github Auth Config
GITHUB_CLIENT_ID=Iv23limxKvMR7L-----
GITHUB_CLIENT_SECRET=2ab6a90bf906f94bb++++++++
GITHUB_CALLBACK_URL=http://172.29.59.+++5:3170/v1/auth/github/callback
GITHUB_SCOPE=email
@senyalefoka commented on GitHub (Mar 3, 2025):
@liyasthomas I want to host hoppscotch on IP adddress
@senyalefoka commented on GitHub (Mar 3, 2025):
@J0Pstr , @liyasthomas , @mirarifhasan @aduarterengifo this is the error
@liyasthomas commented on GitHub (Mar 3, 2025):
@senyalefoka I believe you should use HTTPS for the callback URL. Have you given that a try?
Also are you having trouble with GitHub OAuth app or Google OAuth app?
@senyalefoka commented on GitHub (Mar 3, 2025):
@liyasthomas , @J0Pstr , @mirarifhasan , @aduarterengifo I used this
@senyalefoka commented on GitHub (Mar 3, 2025):
@liyasthomas , @J0Pstr , @mirarifhasan and @aduarterengifo can I get assitance guys?