Question, does this fire on every external login event or only one time only to locate the matching local user account?
I'm asking because if I add logic here to set the user's roles, if the external login provider changes the user's claims later, I need that user's assigned roles to be updated.
m
Mehmet
02/13/2024, 8:29 AM
Hi, yes the OnExternalLogin event fires every time the user logs in.
a
Aaron Sawyer
02/13/2024, 2:48 PM
Ok, what about OnAutoLinking?
m
Mehmet
02/13/2024, 3:29 PM
OnAutoLinking is called the first time when the user logs in / registers