Skip to content

Commit fa1a0f4

Browse files
authored
Merge pull request #7 from Kpler/post-login-event-adjustments
fix(PostLoginEvent): make session and transaction optional
2 parents 5c9903a + b738340 commit fa1a0f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/postLoginEvent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ export type PostLoginEvent = {
165165
request: Request;
166166
resource_server?: EventResourceServer;
167167
secrets: EventSecrets;
168-
session: Session;
168+
session?: Session;
169169
stats: EventStats;
170170
tenant: EventTenant;
171-
transaction: EventBaseTransaction<"oidc-ciba" | "oidc-hybrid-profile"> & {
171+
transaction?: EventBaseTransaction<"oidc-ciba" | "oidc-hybrid-profile"> & {
172172
linking_id?: string;
173173
requested_authorization_details?: Array<{
174174
type: string;

0 commit comments

Comments
 (0)