c# - OneDrive get access token request case-sensitivity -
i have winforms c# app using onedrive api. working until last week when new token requests after authorizing user started failing telling me 'code' parameter invalid.
after reviewing code, noticed routine extracting authorization code authorize call using .tolowerinvariant
resulted in authorization code starting lower-case 'm'. when removed .tolowerinvariant
, code started upper-case 'm' , token request worked correctly.
obviously i'm happy code working, i'd try , understand why started having problems.
many thanks
james
Comments
Post a Comment