mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3989] [bug]: google auth callback not working on self host #1402
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#1402
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 @Chronos77 on GitHub (Apr 19, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3989
Originally assigned to: @balub on GitHub.
Is there an existing issue for this?
Current behavior
when I launch dockers and I try to connect to the admin part with google, it redirects me to the callback inquire however that does nothing and it leaves me on the login page, without any error in the admin logs or backend.
Steps to reproduce
Environment
Deploy preview
Version
Self-hosted
@balub commented on GitHub (Apr 23, 2024):
Hey @Chronos77, please feel free to correct me if I got this wrong. After going through the complete login flow with Google successfully you are left back on the login screen not logged into Hoppscotch ?
If this is the case is your instance running on HTTP ? Hoppscotch uses HTTP secure cookies which means unless its HTTPS the cookies don't get saved in the browser.
@Chronos77 commented on GitHub (Apr 24, 2024):
Hello, thank you for your answer.
This is indeed the case regarding my problem.
Currently on the instance, I am using ports 3100, 3170 and 3000. Then we set up a load balancer which redirects an HTTPS url to one of its ports.
I therefore suppose that we would have to run the hoppscotch server in https, is that right? Is there an easy way to put it in https?
@balub commented on GitHub (Apr 25, 2024):
@Chronos77 yes, can you look into TLS certificates and how you can get them for your domain ?
@balub commented on GitHub (May 14, 2024):
@Chronos77 are you still facing this issue?