-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: UserSessionChanged should be raised regardless of sid claim. Sid… #1247
Conversation
CI pipline fails with:
and with
please resolve |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1247 +/- ##
==========================================
+ Coverage 78.17% 78.40% +0.22%
==========================================
Files 45 45
Lines 1732 1727 -5
Branches 346 345 -1
==========================================
Hits 1354 1354
+ Misses 341 336 -5
Partials 37 37
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I just found that |
I'd rather not put back a partial I'd either remove the
|
The main question is how do we then handle the types for Probably something we already have: const tmpUser = {
session_state: session.session_state,
profile: session.sub /*&& session.sid*/ ? {
sub: session.sub,
//sid: session.sid,
} : null,
}; This would also simplify the type for the parameter of |
The
Subscriber can always call
It could be useful for apps that have public features e.g. some sites show a popup when you sign in on another page. The only problem I see here is that a new notification could be triggered while the previous handler is still running but that is already the case with |
so lets remove that too... |
… is not part of the session management spec.
Removed |
thanks for contributing |
… is not part of the session management spec.
Closes/fixes #1242
Checklist