nextcloud / flow

Nextcloud Flow Engine
https://apps.nextcloud.com/apps/flow
GNU Affero General Public License v3.0
11 stars 1 forks source link

"Bad request: Invalid login" Error with OIDC user #17

Open telepath opened 1 month ago

telepath commented 1 month ago

How to use GitHub


Steps to reproduce

  1. Install Nextcloud 30 AIO
  2. Install OIDC login (keycloak)
  3. Install Flow
  4. Login via OIDC
  5. Open Workflow App

Expected behaviour

Workflow app should open.

Actual behaviour

An empty page opens, error is logged: "message": "login_user(wapp_bcc*************************************************************@windmill.dev) error: Bad request: Invalid login",

When I use the built in admin user, the app opens correctly.

Server configuration

Web server: Docker All-In-One Installation

Nextcloud version: 30.0.1.2

List of activated apps ``` - activity: 3.0.0 - admin_audit: 1.20.0 - announcementcenter: 7.0.1 - app_api: 4.0.0 - approval: 2.0.0 - assistant: 2.1.1 - bookmarks: 15.0.2 - bruteforcesettings: 3.0.0 - calendar: 5.0.1 - calendar_resource_management: 0.8.0 - call_summary_bot: 2.0.0 - circles: 30.0.0-dev - cloud_federation_api: 1.13.0 - collectives: 2.14.4 - comments: 1.20.1 - contacts: 6.1.0 - contactsinteraction: 1.11.0 - context_chat: 3.1.0 - cookbook: 0.11.2 - cospend: 2.0.0 - dashboard: 7.10.0 - dav: 1.31.1 - deck: 1.14.1 - drawio: 3.0.3 - federatedfilesharing: 1.20.0 - federation: 1.20.0 - files: 2.2.0 - files_3dmodelviewer: 0.0.14 - files_accesscontrol: 1.20.1 - files_automatedtagging: 1.20.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 - fileslibreofficeedit: 2.0.1 - firstrunwizard: 3.0.0 - flow_notifications: 1.10.0 - forms: 4.3.1 - groupfolders: 18.0.3 - impersonate: 1.17.0 - integration_openai: 3.1.2 - integration_openproject: 2.7.0 - integration_openstreetmap: 2.0.1 - logreader: 3.0.0 - lookup_server_connector: 1.18.0 - mail: 4.0.2 - 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 - passwords: 2024.9.20 - photos: 3.0.2 - polls: 7.2.4 - privacy: 2.0.0 - provisioning_api: 1.20.0 - quota_warning: 1.20.0 - recognize: 8.1.1 - recommendations: 3.0.0 - related_resources: 1.5.0 - richdocuments: 8.5.2 - serverinfo: 2.0.0 - settings: 1.13.0 - sharebymail: 1.20.0 - spreed: 20.0.1 - support: 2.0.0 - survey_client: 2.0.0 - systemtags: 1.20.0 - tables: 0.8.1 - tasks: 0.16.1 - text: 4.1.0 - text_templates: 1.1.0 - theming: 2.5.0 - translate: 2.2.0 - twofactor_backupcodes: 1.19.0 - twofactor_totp: 12.0.0-dev - user_migration: 7.0.1 - user_oidc: 6.1.0 - 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 ```
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": "***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": 0, "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_smtpport": "26", "default_phone_region": "DE", "DOMAIN": "***REMOVED SENSITIVE VALUE***", } } ```

Browser

Browser name: Floorp

Browser version: 11.18.0 (64-bit)

Operating system: Debian Linux