### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no…t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
Unable to get or view login page on iOS 14.4 and 14.2 on NextCloud 27.0.0 RC1.
Receiving js error stating
```node
"SyntaxError: Unexpected token '=' . Expected an opening '(' before a method's parameter list".
```
Line in question is:
```javascript
static passThroughHooks = new Set(["preprocess", "postprocess"]);
```
### Steps to reproduce
1. Be on iOS 14.x
2. Try to login using safari
3. Try to login through the iOS app
### Expected behavior
Should be shown login window.
### Installation method
Community Manual installation with Archive
### Nextcloud Server version
master
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.1
### Web server
Nginx
### Database engine version
PostgreSQL
### Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"activity_expire_days": 5,
"auth.bruteforce.protection.enabled": false,
"blacklisted_files": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"trusted_domains": [
"cloud.ate.cx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "US",
"dbtype": "pgsql",
"version": "27.0.0.4",
"overwrite.cli.url": "https:\/\/cloud.ate.cx",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"cipher": "AES-128-CFB",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filesystem_check_changes": 0,
"integrity.check.disabled": false,
"knowledgebaseenabled": false,
"overwriteprotocol": "https",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"updater.release.channel": "beta",
"maintenance": false,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"preview_use_imagick": true,
"preview_interpolate": true,
"preview_thread_limit": 8,
"enable_previews": true,
"enabledPreviewProviders": {
"0": "OC\\Preview\\Image",
"1": "OC\\Preview\\Movie",
"2": "OC\\Preview\\Photoshop",
"3": "OC\\Preview\\TIFF",
"4": "OC\\Preview\\HEIC",
"5": "OC\\Preview\\BMP",
"6": "OC\\Preview\\PNG",
"7": "OC\\Preview\\JPEG",
"8": "OC\\Preview\\GIF",
"10": "OC\\Preview\\XBitmap"
},
"data-fingerprint": "264c9f9179f8e40fd0d4ac1b9e124722",
"theme": "",
"debug": false,
"loglevel": "4",
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/error.log",
"logfilemode": 416,
"syslog_tag": "Nextcloud",
"logtimezone": "America\/New_York",
"log_query": true,
"app_install_overwrite": [
"folderplayer",
"camerarawpreviews",
"video_converter",
"files_automatedtagging",
"files_clipboard",
"dashboard",
"previewgenerator",
"extract",
"ocdownloader",
"metadata",
"customproperties",
"breezedark",
"side_menu",
"riotchat",
"duplicatefinder",
"quickaccesssorting",
"root_cache_cleaner",
"recognize",
"memories",
"mediadc",
"uppush",
"workflow_script",
"cloud_py_api"
],
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"filelocking.enabled": true,
"mail_sendmailmode": "smtp",
"memories.exiftool": "\/data\/code\/nextcloud\/apps\/memories\/exiftool-bin\/exiftool-amd64-glibc",
"memories.gis_type": 2,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.path": "\/data\/code\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
"memories.vod.disable": false,
"memories.vod.vaapi.low_power": true,
"memories.vod.vaapi": true
}
}
```
### List of activated Apps
```shell
Enabled:
- activity: 2.19.0
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- customproperties: 2.0.4
- dav: 1.27.0
- extract: 1.3.5
- federatedfilesharing: 1.17.0
- files: 1.22.0
- files_rightclick: 1.6.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- memories: 5.1.0
- metadata: 0.18.0
- nextcloud_announcements: 1.16.0
- notifications: 2.15.0
- oauth2: 1.15.0
- photos: 2.3.0
- previewgenerator: 5.3.0
- privacy: 1.11.0
- provisioning_api: 1.17.0
- recommendations: 1.6.0
- related_resources: 1.2.0
- root_cache_cleaner: 0.1.4
- serverinfo: 1.17.0
- settings: 1.9.0
- suspicious_login: 5.0.0-beta.2
- systemtags: 1.17.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- updatenotification: 1.17.0
- viewer: 2.1.0
- workflowengine: 2.9.0
Disabled:
- admin_audit: 1.17.0 (installed 1.13.0)
- bruteforcesettings: 2.7.0
- circles: 27.0.0 (installed 23.0.0)
- contactsinteraction: 1.8.0 (installed 1.0.0)
- dashboard: 7.7.0 (installed 7.0.0)
- duplicatefinder: 0.0.15 (installed 0.0.15)
- encryption: 2.15.0 (installed 2.11.0)
- federation: 1.17.0 (installed 1.5.0)
- files_automatedtagging: 1.17.0 (installed 1.17.0)
- files_external: 1.19.0 (installed 1.8.0)
- files_pdfviewer: 2.8.0 (installed 2.5.0)
- files_versions: 1.20.0 (installed 1.8.0)
- firstrunwizard: 2.16.0 (installed 2.4.0)
- mediadc: 0.3.5 (installed 0.3.5)
- password_policy: 1.17.0 (installed 1.7.0)
- recognize: 4.0.1 (installed 4.0.1)
- sharebymail: 1.17.0 (installed 1.9.0)
- sharingpath: 0.4.4 (installed 0.4.4)
- support: 1.10.0 (installed 1.0.0)
- survey_client: 1.15.0 (installed 1.3.0)
- twofactor_totp: 9.0.0-beta.2
- user_ldap: 1.17.0
- user_status: 1.7.0 (installed 1.5.0)
- weather_status: 1.7.0 (installed 1.0.0)
```
### Nextcloud Signing status
_No response_
### Nextcloud Logs
_No response_
### Additional info
I apologize for not filling in the full details, but I know the issue is related to the version of iOS I'm running. Was hoping before NC 27 is finalized, the target browser list could be updated to support iOS 14.x.