oauth2-server icon indicating copy to clipboard operation
oauth2-server copied to clipboard

Auth Code check falls back to server var rather than raw header

Open iansltx opened this issue 7 years ago • 2 comments

Fixed this elsewhere in #604. More a note to self to come back and clean this up as well.

iansltx avatar Jul 20 '16 02:07 iansltx

What action needs to be taken here @iansltx ?

alexbilbie avatar Jul 28 '16 23:07 alexbilbie

Same as what I did in 604: using the header directly (base64-decoding the Authorization header, checking to see whether it's Basic, etc.) rather than relying on the server var that you get for free in standard SAPIs but not necessarily elsewhere, even if elsewhere implements PSR-7.

iansltx avatar Jul 29 '16 01:07 iansltx