Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Bearer vs OAuth2 Authorization HTTP Header? #643

Closed
byu opened this Issue · 2 comments

3 participants

@byu
byu commented

RKRequest.m

Method: addHeadersToRequest
Line: 356

    NSString *authorizationString = [NSString stringWithFormat:@"OAuth2 %@",self.OAuth2AccessToken];

The OAuth2 bearer token rfc draft 18 specifies that the Authorization header uses "Bearer" instead of "OAuth2". This change happened in draft 3 of the spec in feb of 2011.

http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-18#section-2.1

@malaba

see #696

@blakewatters

Closing as wontfix. I have removed the OAuth support from RestKit as part of the networking layer reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.