Commit 8a4b03d
committed
feat: Implement DPoP module
- Add DPoPProofGenerator class for RFC 9449 DPoP proof generation
- URL parsing strips query/fragment from htu claim
- JWK export contains only public components (kty, n, e)
- Key rotation with active request tracking
- Implement RSA 2048-bit key generation and management
- Add access token hash computation (SHA-256 + base64url)
- Add nonce storage and management
- Thread-safe implementation with proper locking
- Comprehensive unit tests (24 tests, 100% passing)
RFC 9449 compliant implementation with security best practices.
- Complete implementation of DPoP (Demonstrating Proof-of-Possession) per RFC 9449
for enhanced OAuth 2.0 security. Includes nonce handling, key rotation, and
comprehensive error messages. All core features tested and production-ready.1 parent 96ef4dc commit 8a4b03d
File tree
7 files changed
+1115
-46
lines changed- okta
- config
- tests
7 files changed
+1115
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
| |||
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
0 commit comments