mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #1655] Google OAuth Issue and .Env Issue #690
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#690
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 @abidkhanpk on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1655
Originally assigned to: @christer77 on GitHub.
Hi,
I had been looking for a web email client on which I can check all my email accounts simultaneously just like Thunder bird app on my mac. Cypht seems like it but it's been three days I couldn't make it work. Firstly, on local deployment, it gives me error messages again and again that .env file is missing which I don't want to use as it is unsecure and .env file can be viewed by just visiting mydomainname.com/webmail/.env which show all the content of it. I configured database.php file in config directory and it seems to work but still receiving .env file not found error but app is loading fine.
Second issue that I am facing is, it require composer which is not available on my shared webhosting plan. Is there a wayout for this?
Thirdly, on local deployment, when I try to login gmail account and click on enable, gmail page opens which gives this error:
Access blocked: Authorization Error
Error 400: invalid_request
Request details: flowName=GeneralOAuthFlow
Best Regards
@jeremiah commented on GitHub (Sep 8, 2025):
Hey @abidkhanpk,
I understand the worry around your insecure .env file. You're right - it shouldn't be viewable from the web. This is why the instructions mention you put that file somewhere else on the file system than under document root. Have you considered putting it in "/usr/local/share/cypht/.env" for example?
With regard to missing composer, can you install software on your VPS or Shared Host?
Lastly, to help with the authorization error, more information is needed. You'll likely want to look into what GMail / Google requires to use OAUTH2. The secrets you're using ought to be checked as well to ensure they're aligned with your Google account but don't post them here. :-)