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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -