0
derek created
1 Answer(s)
-
0
Hi,
You can try:
options.Events.OnAuthorizationCodeReceived = async receivedContext => { var userRepository = receivedContext.HttpContext.RequestServices .GetRequiredService<IIdentityUserRepository>(); var users = await userRepository.GetListAsync(); };