logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.15k stars 395 forks source link

feat(core): add get available sso connectors endpoint #6224

Closed simeng-li closed 1 month ago

simeng-li commented 1 month ago

Summary

Add get available SSO connectors endpoint. Retrieve available SSO connectorIds for a given email.

Testing

integration tests added

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +2.5 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/experience/classes/validators/sign-in-experience-validator.ts|:chart_with_upwards_trend: +118 Bytes| |packages/core/src/routes/experience/verification-routes/enterprise-sso-verification.ts|:chart_with_upwards_trend: +774 Bytes| |packages/integration-tests/src/client/experience/index.ts|:chart_with_upwards_trend: +280 Bytes| |packages/integration-tests/src/tests/api/experience-api/verifications/enterprise-sso-verification.test.ts|:chart_with_upwards_trend: +1.36 KB|