ASP.NET Identity: Update external claims after authorization

前端 未结 1 1972
孤城傲影
孤城傲影 2021-02-07 21:18

I am using ASP.NET Identity with several external login providers and I need to handle the following scenario:

1) A user logs in using an external service (let\'s say it

相关标签:
1条回答
  • 2021-02-07 21:49

    This is a bit costy but the easiest answer:

    You can just check the same information whenever the user logs in and update them if changed. Since you have no direct connection to Facebook, you can never know when the users change their information.

    This should result be an OK approach unless you have thousands of logins to your system in a minute.

    0 讨论(0)
提交回复
热议问题