mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3394] [bug]: I cannot log in on admin. always redirect to home admin #1135
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#1135
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 @jams008 on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3394
Is there an existing issue for this?
Current behavior
Hi, I cannot log in on admin. always redirect to the home admin page again after login Authorization callback.
I try using EMAIL and GitHub auth, but some redirects to home admin again.
Steps to reproduce
Environment
Production
Version
Self-hosted
@balub commented on GitHub (Sep 27, 2023):
@jams008 Is your instance secured over
HTTPS? We useHTTPsecure cookies for auth so if your instance is overHTTPthe cookies wont get set in your browser.@jams008 commented on GitHub (Sep 27, 2023):
oh yes, i use
HTTP. Apa harus menggunakanHTTPS@balub ?@balub commented on GitHub (Sep 27, 2023):
@jams008 As mentioned in our docs, you have to use
HTTPSfor it to work.@jams008 commented on GitHub (Sep 27, 2023):
@balub sorry my bad, thanks for help me. Can you refer me to the doc?
I can try again to night.
@owlpro commented on GitHub (Sep 28, 2023):
i have the same issue, always redirected to env.REDIRECT_URL after login
@jams008 commented on GitHub (Sep 28, 2023):
@owlpro Have you tried using tls / https ?
I check in recommendations this doc. But i don't try agin today.
https://docs.hoppscotch.io/documentation/self-host/community-edition/prerequisites#oauth
@raphaelSm commented on GitHub (Oct 4, 2023):
Hi @All I expected the same problem, with redirecting from all auth services and magic link to home page via http . Verify method response return error in this case. Switching to https solve problem to me, doc mentions this at the very end in the link that you provided @jams008 . I wouldn't have find solution without this topic, so thanks for guidance.