authentik
authentik copied to clipboard
No page showing while accessing from iOS 15 (iPhone 7)
Describe the bug No page showing while accessing from iOS 15 (iPhone 7)
To Reproduce Simply launch your Authentik login page (blank screen appears without any error message)
Expected behavior The login screen should appear
Screenshots Blank screen
Logs N/A
Version and Deployment (please complete the following information):
- authentik version: 2024.4
- Deployment: docker-compose
Additional context Work perfectly well on other devices
Can you post the logs from the developer logs of the safari window? I don't have a device running iOS 15 to test with
It is the very first time I do this, so I hope this is what you're looking for. Here's what I believe is the console log from that specific iPhone: [Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (default-authentication-flow, line 18) [Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (default-authentication-flow, line 23) [Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (default-authentication-flow, line 37) [Error] SyntaxError: Unexpected token '{' promiseReactionJob
Same issues here
Can report the same issue on iPadOS 16.3.
Hi. This also happens to me. Safari on iOS 17.5 beta 4
This also happens on latest patch on mobile. Could not find anything in authentik logs and unable to check in console on safari. cc @BeryJu as this is becoming really infuriating. First happened when i updated to 2024.4.1 and doesn't happen on 2024.4.0 so it's one of those commits . Think it comes from https://github.com/goauthentik/authentik/commit/541becfe30a1b5534c37b0d3b16c3072974f09f1
yep 2024.4.2 doesn't fix it
I can't reproduce this on iOS 17.4.1 nor on an iPad. I don't have any earlier devices and while I can't guarantee it work on iOS 15 it should definitely work on iOS 16. I'd recommend clearing the cache in safari and also clearing the cache in cloudflare if you're using that.
hi @BeryJu tried that without any luck. managed to get a console error using a weird browser cause i don't have a mac: it only seems to affect unauthenticated users
Little update: turning off asset minify (and purging cache) seems to fix the issue and the error reported in the previous message. I do believe seeing a pull request or an issue which added the version to the file name, that should fix the cache issue
Also seeing this. Though I'm using an older iOS, 15.7.
Tested with Authentik 2024.4.2, 2024.4.1 and 2024.4.0 Same issues on ios 15.0 on iphone 13 Pro Max
turning off asset minify(and purging cache) seems to fix the issue @4d62 how to do that?
no issue with ios 16.7.8 I think it is a Problem with the old Webkit version on ios 15 or below. Unfortunately I have to work with ios 15.0
Is there a possibility to change the default-authentication-flow or create a new one, which work with old webkit versions?
I have the same issue on iPadOS 17.5.1 with authentik 2024.4.2. Blank white Screen and no error messages. Seems like this issue occures even on higher ios versions.
i can confirm this bug, doesnt appear on recent ios versions (at least the ones i checked). @4d62 how does your workaround get applied? never heard of asset minify features on the iphone.
i faced same issue in safari, chrome, eventually worked via brave browser.
IOS 17.5.1, iphone 13 Pro
Hi there, any idea from anyone to solve this? I’ve tried on my iOS 15 device with Brave: it doesn’t work either
Hi there, any idea from anyone to solve this? I’ve tried on my iOS 15 device with Brave: it doesn’t work either
on iphone all Browsers use the Webkit Engine. It doesn't matter which Browser u use. It's always Webkit. If you are below ios 15 you maybe could use https://github.com/UInt2048/CyberKit an backport of modern webkit bundeled with firefox.
I had the same issue using safari and chrome
Iphone Xs, IOS 16.3.1
Installed Authentik version is 2024.4.2
This is solved with 2024.6.0-rc1
Very, very cool!
Just tested this with 2024.6.0-rc1 @tugdualenligne - super thank you.