Commit f8d30ac
feat(auth): warn when DPoP-bound token sent under Bearer scheme
Per RFC 9449 §7.1, DPoP-bound access tokens (cnf.jkt claim present)
MUST be presented under the "DPoP" Authorization scheme. The platform
currently accepts either scheme as long as a valid DPoP proof is
attached. This change emits a WARN log when a cnf-bound token arrives
under "Bearer" scheme, surfacing non-compliant SDKs without breaking
existing clients. A follow-up will promote this to a hard reject once
all SDKs are compliant.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5da2453 commit f8d30ac
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
634 | 637 | | |
635 | 638 | | |
636 | 639 | | |
637 | 640 | | |
638 | 641 | | |
| 642 | + | |
639 | 643 | | |
640 | 644 | | |
| 645 | + | |
641 | 646 | | |
642 | 647 | | |
643 | 648 | | |
| |||
661 | 666 | | |
662 | 667 | | |
663 | 668 | | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
664 | 675 | | |
665 | 676 | | |
666 | 677 | | |
| |||
0 commit comments