Commit 07a6b6b
committed
fix(security): prevent NPE in DSUserDetails.getClaims()
Add null check for oidcUserInfo before calling getClaims() to prevent
NullPointerException when DSUserDetails is constructed without OIDC info.
Returns empty map instead of throwing NPE when OIDC info is not available.1 parent 7ce3866 commit 07a6b6b
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
0 commit comments