mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #213] Login not possible with Cepht in iframe #177
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#177
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 @Yamakasi on GitHub (Jul 22, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/213
Originally assigned to: @jasonmunro on GitHub.
When Cepht is loaded into an iframe, even within the same domain like:
webmail.domain.tld <- cepht install
webmail.domain.tld/testdir/index.php <- iframe which loads the above install
The auth against the IMAP server goes well but you get an error like "The read operation failed" or something like the same on you IMAP server and you will be thrown back to the login page.
How to fix ?
@jasonmunro commented on GitHub (Jul 23, 2017):
works fine for me, I just tested an iframe login locally and it worked without issue. Does your direct login without the iframe work?
@Yamakasi commented on GitHub (Jul 23, 2017):
In a simple iframe it works
webmail.foo.bar/ <- install
webmail.foo.bar/dir/index.php <- iframe
but not like this:
My router (MVC) calls it like site.com/foobar(/maybe/more) where i load an iframe in a view to Cypht but there we have an issue, I also tried to use a subdomain to load it from, but we will have a cookie issue that we can set in Cepht, no solution.
My install of Cepht under the same domain is outside of my public dir...
@jasonmunro commented on GitHub (Jul 27, 2017):
Not sure what to say about this. We know it works in an iframe, and it should not matter how that iframe is served (your router) - so something else is causing the problems you are seeing. can you explain in more detail the exact error conditions and log messages you are seeing? Also, I know it's probably and autocorrect thing, but it's Cypht, not Cepht :)
@Yamakasi commented on GitHub (Jul 27, 2017):
I will restest this again and report back... yes the typo, I'm ill and typing is painfull ;)
@Yamakasi commented on GitHub (Aug 8, 2017):
This can be closed and is explained in the API login section.