diff --git a/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs b/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
index 36b07f11..d953271f 100644
--- a/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
+++ b/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
@@ -25,9 +25,10 @@ public interface IAuthenticationHook
///
/// User authenticated successfully
///
+ ///
///
///
- bool UserAuthenticated(JwtSecurityToken token)
+ bool UserAuthenticated(User user, Token token)
=> true;
///
diff --git a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
index 5bbd3c32..daf8a340 100644
--- a/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
+++ b/src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
@@ -296,7 +296,7 @@ public class UserService : IUserService
var (token, jwt) = BuildToken(record);
foreach (var hook in hooks)
{
- hook.UserAuthenticated(jwt);
+ hook.UserAuthenticated(record, token);
}
return token;