Skip to content

Commit 4746ba7

Browse files
committed
Send login event in direct grant
1 parent 55f87b5 commit 4746ba7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • auth-gateway/auth-gateway-app/src/main/kotlin/co/nilin/opex/auth/service

auth-gateway/auth-gateway-app/src/main/kotlin/co/nilin/opex/auth/service/LoginService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class LoginService(
4747
request.clientId,
4848
request.clientSecret
4949
).apply { if (!request.rememberMe) refreshToken = null }
50+
sendLoginEvent(user.id, token.sessionState, request, token.expiresIn)
5051
return TokenResponse(token, null, null)
5152
}
5253

0 commit comments

Comments
 (0)