Using LinkedIn oauth2.0 with rauth-Collection of common programming errors

I am trying to connect to LinkedIn using the OAuth2Service provided by rauth. I successfully retrieve the access token. To do so, I configured a specific decoder for the json response.

json_decoder = json.loads
params = {'decoder': json_decoder}
session = linkedin.get_auth_session(data=data, **params)

But when doing the API call via r = session.get('people/~', data={"x-li-format":'json'},) the following response is coming back:



  401
  1369334215190
  F3SKIP4YUF
  0
  Unknown authorization header {Bearer AQU2HxhdXVHGG4sIWdZV7siahjVyTz0KIigEVvtMpAh...}


Is it possible that LinkedIn does not support the bearer token? If so, does rauth support other schemes?