mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[PR #1021] [MERGED] [FIX]Error Ocurred when attempting gmail oauth2 setup #1213
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#1213
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?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/1021
Author: @christer77
Created: 5/14/2024
Status: ✅ Merged
Merged: 5/15/2024
Merged by: @kroky
Base:
master← Head:Error-Ocurred-when-attempting-gmail-oauth2-setup📝 Commits (1)
92f66b7[ENH]Error Ocurred when attempting gmail oauth2 setup📊 Changes
4 files changed (+8 additions, -8 deletions)
View changed files
📝
lib/framework.php(+2 -2)📝
lib/ini_set.php(+1 -1)📝
lib/session_base.php(+3 -3)📝
modules/api_login/modules.php(+2 -2)📄 Description
For issue !776 and this !978
We found that the SameSite option for the cookie caused a redirect to cypht after a successful authentication from OAuth2 failed. As a solution, we used Lax instead of Strict value for hm_session and hm_id cookies, which worked perfectly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.