Skip to content

[Bug]: Oauth providers not visible after switching to ENTERPRISE mode #1379

Closed
@martkaczmarek

Description

@martkaczmarek

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After switching my local installation (2.5.1) to ENTERPRISE mode from SAAS, I cannot log into Lowcoder using proviously available Oauth provider. Even after creating a new provider, it's not visible on the list nor on the login form. API endpoint also only returns EMAIL type login:

{
    "code": 1,
    "message": "",
    "data": {
        "authConfigs": [
            {
                "authType": "FORM",
                "id": "EMAIL",
                "enable": false,
                "enableRegister": true,
                "source": "EMAIL",
                "sourceName": "EMAIL",
                "authType": "FORM"
            }
        ],
        "workspaceMode": "ENTERPRISE",
        "selfDomain": false,
        "cookieName": "LOWCODER_CE_SELFHOST_TOKEN",
        "cloudHosting": false
    },
    "success": true
}

Applications, data sources, saved queries, logins and user groups seem to correctly transfer from SAAS organisation.
Interestingly, the user's e-mail binding to Oauth identity seems to still be working - after logging in with email/password, I can still access data in application that would normally require the Oauth credentials.
It's important to note I have not checked whether it happens with clean ENTERPRISE installation.

Expected Behavior

Oauth providers should carry over to SAAS mode

Steps to reproduce

  1. Create multi-Docker installation in SAAS mode
  2. Create one organisation
  3. Create Oauth provider
  4. Change mode to ENTERPRISE
  5. Restart docker instances and try to login - only a Email login is possible (if it's enabled)
  6. Login as admin
  7. Go to Providers configuration page and create another provider
  8. Provider does not appear on the list

Environment

Lowcoder multi-docker, 2.5.1

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions