Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1.43 KB

ad-linked-oauth.md

File metadata and controls

11 lines (6 loc) · 1.43 KB

#How to use Auth Tokens Stored In the database

You can see the example code for this here. Ignore stupid branch name.

  1. Add linkedin user id to the User class.

  2. Add a linked in client that will fetch take the code that linked in provides and return OAuthUser. You will need to register this service because it will require the some config. (client id, client secret, and redirect url). Example

  3. Create a provider that will take the register the user if can't be found by linked user id / email. Otherwise it will update the user. LinkedInProvider

  4. Register the linked in provider and firewall.