nextcloud / notes-ios

Other
25 stars 8 forks source link

Sign In Impossible #76

Open i2h3 opened 5 days ago

i2h3 commented 5 days ago

How to use GitHub


Steps to reproduce

  1. Install Nextcloud Notes app from App Store
  2. Launch
  3. Enter the server address or pick any account available in the picker (probably by sharing information through app groups)
  4. Tap to sign in
  5. Go through the web-based sign in flow

Expected behaviour

  1. Visible confirmation of the sign-in
  2. Synchronization of notes

Actual behaviour

No visible change in the user interface as if the sign-in did not happen

Device

Server configuration

Web server: Whatever is default in Nextcloud AiO

Database: PostgreSQL

PHP version: 8.2.25

Nextcloud version: Hub 9 (30.0.1)

List of activated apps ``` Enabled: - activity: 3.0.0 - admin_audit: 1.20.0 - app_api: 4.0.0 - bruteforcesettings: 3.0.0 - calendar: 5.0.5 - circles: 30.0.0-dev - cloud_federation_api: 1.13.0 - comments: 1.20.1 - contacts: 6.1.1 - contactsinteraction: 1.11.0 - dashboard: 7.10.0 - dav: 1.31.1 - federatedfilesharing: 1.20.0 - federation: 1.20.0 - files: 2.2.0 - files_downloadlimit: 3.0.0 - files_pdfviewer: 3.0.0 - files_reminders: 1.3.0 - files_sharing: 1.22.0 - files_trashbin: 1.20.1 - files_versions: 1.23.0 - firstrunwizard: 3.0.0 - logreader: 3.0.0 - lookup_server_connector: 1.18.0 - mail: 4.0.3 - nextcloud-aio: 0.6.0 - nextcloud_announcements: 2.0.0 - notes: 4.11.0 - notifications: 3.0.0 - notify_push: 0.7.0 - oauth2: 1.18.1 - password_policy: 2.0.0 - photos: 3.0.2 - privacy: 2.0.0 - provisioning_api: 1.20.0 - related_resources: 1.5.0 - serverinfo: 2.0.0 - settings: 1.13.0 - sharebymail: 1.20.0 - spreed: 20.0.2 - support: 2.0.0 - survey_client: 2.0.0 - systemtags: 1.20.0 - tasks: 0.16.1 - text: 4.1.0 - theming: 2.5.0 - twofactor_backupcodes: 1.19.0 - twofactor_totp: 12.0.0-dev - user_status: 1.10.0 - viewer: 3.0.0 - weather_status: 1.10.0 - webhook_listeners: 1.1.0-dev - whiteboard: 1.0.4 - workflowengine: 2.12.0 Disabled: - deck: 1.14.2 (installed 1.14.2) - encryption: 2.18.0 - files_external: 1.22.0 - recommendations: 3.0.0 (installed 3.0.0) - suspicious_login: 8.0.0 - twofactor_nextcloud_notification: 4.0.0 - user_ldap: 1.21.0 ```
Nextcloud configuration ``` { "system": { "one-click-instance": true, "one-click-instance.user-limit": 100, "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "check_data_directory_permissions": false, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "overwritehost": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "30.0.1.2", "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "updatedirectory": "\/nc-updater", "loglevel": 2, "app_install_overwrite": [ "nextcloud-aio" ], "log_type": "file", "logfile": "\/var\/www\/html\/data\/nextcloud.log", "log_rotate_size": 10485760, "log.condition": { "apps": [ "admin_audit" ] }, "preview_max_x": 2048, "preview_max_y": 2048, "jpeg_quality": 60, "enabledPreviewProviders": { "1": "OC\\Preview\\Image", "2": "OC\\Preview\\MarkDown", "3": "OC\\Preview\\MP3", "4": "OC\\Preview\\TXT", "5": "OC\\Preview\\OpenDocument", "6": "OC\\Preview\\Movie", "7": "OC\\Preview\\Krita", "0": "OC\\Preview\\Imaginary" }, "enable_previews": true, "upgrade.disable-web": true, "mail_smtpmode": "smtp", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "activity_expire_days": 30, "simpleSignUpLink.shown": false, "share_folder": "\/Shared", "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/", "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726", "maintenance_window_start": 100, "allow_local_remote_servers": true, "davstorage.request_timeout": 3600, "htaccess.RewriteBase": "\/", "dbpersistent": false, "auth.bruteforce.protection.enabled": true, "ratelimit.protection.enabled": true, "files_external_allow_create_new_local": false, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "DOMAIN": "***REMOVED SENSITIVE VALUE***" } } ```
i2h3 commented 1 day ago

Using a freshly erased iOS Simulator, the app has "http://cloud.nextcloud.com" filled in by default in the server field of the settings tab. When I change that URL to my test server and go through the sign in process, it is reset to its initial value upon completion. Though, the label below then states that Notes 4.11.0 is used with Nextcloud 30.0.2. When I pull to fresh in the note list, I actually see content appearing.