Skip to content

Commit 70d49b3

Browse files
update comment
1 parent 444b802 commit 70d49b3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

drift/instrumentation/kinde/instrumentation.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""Kinde SDK instrumentation for REPLAY mode.
22
33
This instrumentation patches StorageManager.get() to handle device ID mismatch
4-
during replay. This enables successful authentication across Flask, FastAPI,
5-
and other frameworks using Kinde's FrameworkAwareStorage.
4+
during replay. This enables successful authentication for Flask or FastAPI.
65
76
Problem: During replay, Kinde's StorageManager generates a new UUID on server
87
startup, but the replayed session contains data keyed with the old device ID
@@ -15,8 +14,7 @@
1514
3. Extract device ID from found key and cache it for future lookups
1615
4. Return the found value
1716
18-
This approach is framework-agnostic - it works with Flask, FastAPI, or any
19-
framework using Kinde's FrameworkAwareStorage.
17+
This approach is framework-agnostic - it works with Flask or FastAPI. Kinde does not support Django.
2018
2119
Only active in REPLAY mode.
2220
"""

0 commit comments

Comments
 (0)