mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3733] [bug]: Login model not show email option, and toast Unable to load auth providers #1295
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#1295
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 @aliuq on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3733
Is there an existing issue for this?
Current behavior
Login model not show email option, and toast
Unable to load auth providersI found
plantformis undefinedSteps to reproduce
Hoppscotch version is
2023.12.2.envdocker-compose.yamlEnvironment
Production
Version
Self-hosted
@balub commented on GitHub (Jan 11, 2024):
@aliuq Can you check the logs in the container for any error messages being thrown and share them here.
@aliuq commented on GitHub (Jan 11, 2024):
@balub I didn’t see any error type information from the logs.
@aliuq commented on GitHub (Jan 16, 2024):
Error is always exist. I guessed is wrong configuration
my
docker-compose.yamlfilemy
.envfile, e.g. origin ishttps://hoppscotch.xxx.xxx.xxLogs here.
logs.txt
@aliuq commented on GitHub (Jan 16, 2024):
I found this error's reason. when I cleared the cache and reload,
globalThis.import_meta_envcontains all the environment variables, but when I refreshed the page,globalThis.import_meta_envonly contains some environment variables. used proxy byfrpbefore
after
@raffus commented on GitHub (Mar 26, 2024):
I had a similar problem, is related to the .env variables. Double check your URL's configs and try again.
Also, if you want to use EMAIL login, you need to use SSL or it will not work. I ran SSL using nginx as proxy and it worked.
Good luck.
@joeljstephen commented on GitHub (Apr 9, 2024):
@aliuq Does the issue still persist for you in the latest release build?
@aliuq commented on GitHub (Apr 11, 2024):
Sorry, it's been a while since I've used hoppscotch
@joeljstephen commented on GitHub (Apr 11, 2024):
@aliuq This issue isn't present in the latest builds according to my testing. Hence I will be closing this issue in a few days. If you are still facing this issue, please let me know.
@raffus commented on GitHub (Apr 19, 2024):
Its not a bug, its related to SSL enforcement.
Try using a reverse proxy with SSL and it should work. Also, use https URLs in your VITE_* URL.
In my case, I also had to add extra routes on NGINX, such as:
And in my .env file:
That worked for me.
Cheers,
RaffusBR
@aliuq commented on GitHub (May 17, 2024):
@JoelJacobStephen Hello, I just tried it. Although the environment variable is available, it will become
localhost.before
after