nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

iOS 64bit Problems? #180

Closed katzlbt closed 9 years ago

katzlbt commented 9 years ago

I have a problem with 64bit phones with the method ... [NXOAuth2Request performMethod:@"GET" onResource:url usingParameters:nil withAccount:LCAOAuthUtil.instance.account

On 64bit it failes (on our server in python) with: get_userid_by_oauth2_token not found m�zխ��}���vo^�s�:�]�߷�

On 32bit iPhones it works ok

I assume it has to do with encoding the bearer token in 64bit.

Does anyone have similar problems? I can also not find the line of code where the bearer token (an uuid) is encoded base64?

katzlbt commented 9 years ago

This seems to have other internal reasons, but is related that our server wants base64 encoded tokens.