[GH-ISSUE #3757] [bug]: I use email , but I am unable to log in #1305

Closed
opened 2026-03-16 19:45:55 +03:00 by kerem · 4 comments
Owner

Originally created by @pigzhuzhu55 on GitHub (Jan 17, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3757

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

image
image
image
企业微信截图_17054919271406
image

Steps to reproduce

When I logged in using email, I received a link in my webpage email. By clicking on the link, I was redirected to the page and did not successfully log in.
But I can see 2 account records in the database.

Environment

Production

Version

Self-hosted

Originally created by @pigzhuzhu55 on GitHub (Jan 17, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3757 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior ![image](https://github.com/hoppscotch/hoppscotch/assets/7320822/dd93e63d-f7e5-404d-bff7-f6957c89a14c) ![image](https://github.com/hoppscotch/hoppscotch/assets/7320822/316b9d41-6ae6-4a52-949d-b18555269006) ![image](https://github.com/hoppscotch/hoppscotch/assets/7320822/5aef7a3f-7046-4c86-8acd-9153ffbcb6e5) ![企业微信截图_17054919271406](https://github.com/hoppscotch/hoppscotch/assets/7320822/b75435b8-6642-4b96-9e4a-cdea8658f63c) ![image](https://github.com/hoppscotch/hoppscotch/assets/7320822/2fef9083-fd86-4304-be4b-8bd6d30b1116) ### Steps to reproduce When I logged in using email, I received a link in my webpage email. By clicking on the link, I was redirected to the page and did not successfully log in. But I can see 2 account records in the database. ### Environment Production ### Version Self-hosted
kerem 2026-03-16 19:45:55 +03:00
Author
Owner

@tungtepao commented on GitHub (Jan 19, 2024):

I may have had the same issue as you. i tracked with burp proxy,and found that the cookie of response from magic link was not saved. after Manual copying the two cookie value : access_token,refresh_token, hoppscotch show i am Logged in。

<!-- gh-comment-id:1900015688 --> @tungtepao commented on GitHub (Jan 19, 2024): I may have had the same issue as you. i tracked with burp proxy,and found that the cookie of response from magic link was not saved. after Manual copying the two cookie value : access_token,refresh_token, hoppscotch show i am Logged in。
Author
Owner

@balub commented on GitHub (Jan 25, 2024):

@pigzhuzhu55 Hoppscotch uses HTTPS secure cookies to authenticate itself with the backend because you are running Hoppscotch on just an HTTP network even if you successfully log in the cookies ultimately won't be saved by the browser

@TungTePao I believe this is the same reason for your end too.

<!-- gh-comment-id:1909691146 --> @balub commented on GitHub (Jan 25, 2024): @pigzhuzhu55 Hoppscotch uses `HTTPS` secure cookies to authenticate itself with the backend because you are running Hoppscotch on just an `HTTP` network even if you successfully log in the cookies ultimately won't be saved by the browser @TungTePao I believe this is the same reason for your end too.
Author
Owner

@tungtepao commented on GitHub (Jan 29, 2024):

@pigzhuzhu55 Hoppscotch uses HTTPS secure cookies to authenticate itself with the backend because you are running Hoppscotch on just an HTTP network even if you successfully log in the cookies ultimately won't be saved by the browser

@TungTePao I believe this is the same reason for your end too.

3ks!you are right. i solved with configured nginx as an https reverse proxy.
The latest docker image of backend does not expose 443 port, it's hard to think of does not support http.

<!-- gh-comment-id:1913783752 --> @tungtepao commented on GitHub (Jan 29, 2024): > @pigzhuzhu55 Hoppscotch uses `HTTPS` secure cookies to authenticate itself with the backend because you are running Hoppscotch on just an `HTTP` network even if you successfully log in the cookies ultimately won't be saved by the browser > > @TungTePao I believe this is the same reason for your end too. 3ks!you are right. i solved with configured nginx as an https reverse proxy. The latest docker image of backend does not expose 443 port, it's hard to think of does not support http.
Author
Owner

@balub commented on GitHub (May 14, 2024):

Closing this issue, due to inactivity.

<!-- gh-comment-id:2109398810 --> @balub commented on GitHub (May 14, 2024): Closing this issue, due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1305
No description provided.