I am authenticating users on the client with a few social auth providers. GPlus, Facebook and Linkedin. Once authenticated I am sending the key back to the server to complete the authentication process on the server too. I have created a custom view that essentially gets a strategy and then calls:
user = strategy.backend.do_auth(access_token=access_token)
_do_login(strategy, user)
This is working perfect for GPlus and Facebook but I am having trouble with Linkedin. Here is the docs for the linkedin process. http://developer.linkedin.com/documents/exchange-jsapi-tokens-rest-api-oauth-tokens I have started writing a custom backend that inherets from LinkedinOAuth backend to exchange the Client-side Bearer Token for a OAuth 1.0a token in do_auth before continuing the process. Is this the right direction or is there something I have missed?
Simon
I am authenticating users on the client with a few social auth providers. GPlus, Facebook and Linkedin. Once authenticated I am sending the key back to the server to complete the authentication process on the server too. I have created a custom view that essentially gets a strategy and then calls:
This is working perfect for GPlus and Facebook but I am having trouble with Linkedin. Here is the docs for the linkedin process. http://developer.linkedin.com/documents/exchange-jsapi-tokens-rest-api-oauth-tokens I have started writing a custom backend that inherets from LinkedinOAuth backend to exchange the Client-side Bearer Token for a OAuth 1.0a token in do_auth before continuing the process. Is this the right direction or is there something I have missed?
Simon