mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
c95755502d
* fix(connector): fix GitHub connector GET /emails forbidden error * chore: adopt suggestion Co-authored-by: Gao Sun <gao@silverhand.io> --------- Co-authored-by: Gao Sun <gao@silverhand.io>
7 lines
501 B
Markdown
7 lines
501 B
Markdown
---
|
|
"@logto/connector-github": patch
|
|
---
|
|
|
|
fix `GET /users/emails` API requests break social sign-in flow error
|
|
|
|
Previously, the GET /users/emails API was returning a 403 Forbidden error when the endpoint is not accessible. This will break the social sign-in flow in previous version, so we handled this error and return an empty array instead. In this way, the social sign-in flow will continue but with `userEmails` as an empty array, and should provide enough information for further investigation.
|