The authorize action called validate_claims_against_scopes with requested_scopes before that local was assigned (assignment was ~100 lines later), raising NameError whenever a client passed a claims= parameter. Move the scope normalization above the claims validation. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
49 KiB
49 KiB