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

bug: Some official connectors do not work and are skipped #6590

Open
2 of 4 tasks
family-cpa opened this issue Sep 17, 2024 · 3 comments
Open
2 of 4 tasks

bug: Some official connectors do not work and are skipped #6590

family-cpa opened this issue Sep 17, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@family-cpa
Copy link

family-cpa commented Sep 17, 2024

Describe the bug

Some official connectors do not work and are skipped

Expected behavior

How to reproduce?

docker-compose.yml
logto:
image: svhd/logto:1.20.0
container_name: logto
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm run cli connector add -- --official && npm start"]
restart: unless-stopped
ports:
- 3001:3001
- 3002:3002
environment:
- TRUST_PROXY_HEADER=1
- DB_URL=...

Context

  • Logto Cloud
  • Self-hosted, Logto version = v1.20.0
    • Container (Docker image)
    • Raw Node.js

Screenshots

output

@family-cpa family-cpa added the bug Something isn't working label Sep 17, 2024
@family-cpa family-cpa changed the title bug: bug: Some official connectors do not work and are skipped Sep 17, 2024
@wangsijie wangsijie self-assigned this Sep 18, 2024
@wangsijie
Copy link
Contributor

Hi, could you please share the full docker compose file? It looks like you are customizing something by npm run cli connector add -- --official, normally you don't need this, you can find the recommended compose file here: https://docs.logto.io/docs/get-started/#local

@wangsijie wangsijie added pending-verification Something is still under investigation and removed bug Something isn't working labels Oct 9, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Oct 24, 2024
@wangsijie wangsijie removed the stale label Oct 24, 2024
@jameshiscott
Copy link

We have this same problem and i believe its being talked about in this discord as well:

https://discord.com/channels/965845662535147551/1299720777154822214

2024-11-04T11:33:49.643746834Z (node:44) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2024-11-04T11:33:49.643801045Z (Use `node --trace-warnings ...` to show where the warning was created)
2024-11-04T11:33:55.161106316Z cache    warn No Redis client initialized, skipping
2024-11-04T11:33:56.107234761Z error [load-connector] skip @logto/connector-alipay-native due to error: Cannot find package 'dayjs' imported from /etc/logto/packages/core/connectors/@logto-connector-alipay-native/lib/index.js
2024-11-04T11:33:56.139162745Z error [load-connector] skip @logto/connector-alipay-web due to error: Cannot find package 'dayjs' imported from /etc/logto/packages/core/connectors/@logto-connector-alipay-web/lib/index.js
2024-11-04T11:33:56.158678065Z error [load-connector] skip @logto/connector-aws-ses due to error: Cannot find package '@aws-sdk/client-sesv2' imported from /etc/logto/packages/core/connectors/@logto-connector-aws-ses/lib/index.js
2024-11-04T11:33:56.165047794Z error [load-connector] skip @logto/connector-azuread due to error: Cannot find package '@azure/msal-node' imported from /etc/logto/packages/core/connectors/@logto-connector-azuread/lib/index.js
2024-11-04T11:33:56.249279943Z error [load-connector] skip @logto/connector-gitlab due to error: Cannot find package '@logto/connector-oauth' imported from /etc/logto/packages/core/connectors/@logto-connector-gitlab/lib/index.js
2024-11-04T11:33:56.280260338Z error [load-connector] skip @logto/connector-huggingface due to error: Cannot find package '@logto/connector-oauth' imported from /etc/logto/packages/core/connectors/@logto-connector-huggingface/lib/index.js
2024-11-04T11:33:56.329362965Z error [load-connector] skip @logto/connector-kook due to error: Cannot find package '@logto/connector-oauth' imported from /etc/logto/packages/core/connectors/@logto-connector-kook/lib/index.js
2024-11-04T11:33:56.337029124Z error [load-connector] skip @logto/connector-oauth due to error: Cannot find package 'query-string' imported from /etc/logto/packages/core/connectors/@logto-connector-oauth/lib/index.js
2024-11-04T11:33:56.343991788Z error [load-connector] skip @logto/connector-postmark due to error: Cannot find package 'postmark' imported from /etc/logto/packages/core/connectors/@logto-connector-postmark/lib/index.js
2024-11-04T11:33:56.351444284Z error [load-connector] skip @logto/connector-patreon due to error: Cannot find package '@logto/connector-oauth' imported from /etc/logto/packages/core/connectors/@logto-connector-patreon/lib/index.js
2024-11-04T11:33:56.357357633Z error [load-connector] skip @logto/connector-oidc due to error: Cannot find package '@logto/connector-oauth' imported from /etc/logto/packages/core/connectors/@logto-connector-oidc/lib/index.js
2024-11-04T11:33:56.416816306Z error [load-connector] skip @logto/connector-smtp due to error: Cannot find package 'nodemailer' imported from /etc/logto/packages/core/connectors/@logto-connector-smtp/lib/index.js

However they are in the folder....

image

@wangsijie wangsijie added bug Something isn't working status/wip We are working on it and removed pending-verification Something is still under investigation labels Nov 6, 2024
@linear linear bot removed the status/wip We are working on it label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants