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.94k stars 446 forks source link

fix(core): set default social session #6784

Closed wangsijie closed 1 week ago

wangsijie commented 1 week ago

Summary

In social verification class, set default value {} of connectorSession, because some connectors do not use this, and this may cause session.connector_validation_session_not_found error.

Testing

Local tested.

Checklist

github-actions[bot] commented 1 week ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -1 Bytes

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/experience/classes/verifications/social-verification.ts|:chart_with_downwards_trend: -1 Bytes|