Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync auth provider settings with Strapi config-sync plugin #90

Open
sidemt opened this issue Aug 13, 2023 · 1 comment
Open

Sync auth provider settings with Strapi config-sync plugin #90

sidemt opened this issue Aug 13, 2023 · 1 comment

Comments

@sidemt
Copy link
Member

sidemt commented Aug 13, 2023

Currently, we have to set Auth0 Provider configration manually in the admin panel:

Include this config in the strapi config sync if possible.

We already use this plugin to sync user role and permission settings. It seems we have to set up a custom type to add Provider related settings.

See #89 for the background of this issue.

@sidemt
Copy link
Member Author

sidemt commented Aug 30, 2023

Removing "core-store.plugin_users-permissions_grant" from excludedConfig array may solve the issue

  "config-sync": {
    enabled: true,
    config: {
      syncDir: "config/sync/",
      minify: false,
      soft: false,
      importOnBootstrap: false,
      customTypes: [],
      excludedTypes: [],
      excludedConfig: [
        // "core-store.plugin_users-permissions_grant", // remove this line
        "core-store.plugin_upload_metrics",
        "core-store.strapi_content_types_schema",
        "core-store.ee_information",
      ],
    },
  },

Update: But we shouldn't store sensitive information in the code or Docker image so we might have to use other approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant