Commit 77a7d4d
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 15d77e3 commit 77a7d4d
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
688 | 691 | | |
689 | 692 | | |
690 | 693 | | |
691 | 694 | | |
692 | 695 | | |
| 696 | + | |
693 | 697 | | |
694 | 698 | | |
| 699 | + | |
695 | 700 | | |
696 | 701 | | |
697 | 702 | | |
| |||
715 | 720 | | |
716 | 721 | | |
717 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
718 | 729 | | |
719 | 730 | | |
720 | 731 | | |
| |||
0 commit comments