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.23k stars 401 forks source link

feature request: Add webhook event after successful social sign-in #4556

Open charIeszhao opened 11 months ago

charIeszhao commented 11 months ago

What problem did you meet?

Currently, Logto doesn't have the webhook event upon successful social sign-in. Some users want the flexibility to post full userinfo acquired from social platform to their own service, and some even want to cache the access token Logto used for acquiring the userinfo and re-use it later for other usages. Adding a webhook and sending all these data to user service would satisfy these needs.

Describe what you'd like Logto to have

Add a new webhook event when a user is successfully signed in from a social platform. Sending full userinfo and access token from social platform to the hook payload.

manulpatel commented 10 months ago

Hello @charIeszhao! I would like to work on this. Could you please assign me?

charIeszhao commented 10 months ago

Hello @charIeszhao! I would like to work on this. Could you please assign me?

Assigned! Thanks in advance. Looking forward to your pull request

charIeszhao commented 10 months ago

@manulpatel Hi, do you have any updates? I asked because the Hacktoberfest event is over, and we would like to tell you that you can still work on it to help improve Logto to be better. Feel free to let us know if you hit any blocker and we'll be willing to assist you.

manulpatel commented 10 months ago

Hello @charIeszhao! Thanks for asking. Yes I am interested to contribute outside the Hacktoberfest. I am learning more about webhooks and their implementation, would ask you on Discord in case of blockers. Thanks.

charIeszhao commented 10 months ago

Hello @charIeszhao! Thanks for asking. Yes I am interested to contribute outside the Hacktoberfest. I am learning more about webhooks and their implementation, would ask you on Discord in case of blockers. Thanks.

Awesome! Thanks in advance. Looking forward to your pull request!