Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on iphone login #474

Open
xdubx opened this issue Jul 25, 2024 · 4 comments
Open

Error on iphone login #474

xdubx opened this issue Jul 25, 2024 · 4 comments

Comments

@xdubx
Copy link

xdubx commented Jul 25, 2024

Currently i have some errors reported from users on my nextcloud only from iphone. I testet it with the newest emulator with ios 17.5 and it works without problem. But one of the user have same same os with the same browser and patch state but he got the HA state error. On android or desktop devices the error does not appear.

image is the error message after successful login with keycloak v25.0.2.

The cloud is setup with an new docker container and the keycloak also. On the keycloak side i get this error
image
Nextcloud don't have any error or warning.

After entering the cloud url without the plugin subpath. The user is than logged in.

@zorn-v
Copy link
Owner

zorn-v commented Jul 25, 2024

I testet it with the newest emulator with ios 17.5 and it works without problem

How I must detect/debug that problem then ?

@xdubx
Copy link
Author

xdubx commented Jul 26, 2024

I testet it with the newest emulator with ios 17.5 and it works without problem

How I must detect/debug that problem then ?

i currently waste 5 afternoons to reproduce the bug :) at this point. I don't understand why it have this behavior. Its the other error.
image

The only hint that i have. Maybe it can be an problem with the cookie consumption. Before i have an old keycloak provider v16 and update to v25. Keycloak wrote down in the patchnotes https://github.com/keycloak/keycloak/releases/tag/25.0.0
The default value SameSite=Lax causes issues with POST based bindings, mostly applicable to SAML, but also used in some OpenID Connect / OAuth 2.0 flows.
Maybe this is an hint.
At this point i'am out of ideas. I have only an macbook to reproduce the error. But some user that can force the bug. With the current ios version. The browsers are chome, safari, duckduckgo. As an webdev i know they have the save set of rules to operate in the sandbox on apple devices.

@xdubx
Copy link
Author

xdubx commented Aug 5, 2024

here know ios 17 safari
image

and same error on duckduckgo
i had the same on v15 in the emulator.

@xdubx
Copy link
Author

xdubx commented Aug 6, 2024

it seems to work with keycloak v24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants