Skip to content

Tutorial on how to implement OmniAuth LinkedIn OAuth2 in a Ruby on Rails application with Devise authentication. Will cover the authentication and also retrieving some valuable about the user like avatar, first and last name.

Notifications You must be signed in to change notification settings

nicoproto/linkedin-login

Repository files navigation

Sign Up with LinkedIn on Rails

Intro

A few months ago I was working on a platform focused on following up and guiding innovation ventures, our client wanted to add an easy way for their users to sign up, and, considering it was focused on professionals, they decided LinkedIn was the best option.

After a lot of tutorials that broke in the middle of the process, stackoverflowing (I guess this works if Googling is a word now) weird bugs, and 16 cups of coffee I decided to write this tutorial with the hope to make someone's work easier.

I will be using the ruby gem OmniAuth LinkedIn OAuth2 in a Ruby on Rails application with Devise authentication.

Note: My actual setup is Rails 6.0.3.4 and Ruby 2.6.5

Setup tutorial here 👈🏻

About

Tutorial on how to implement OmniAuth LinkedIn OAuth2 in a Ruby on Rails application with Devise authentication. Will cover the authentication and also retrieving some valuable about the user like avatar, first and last name.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published