Sign up in linkedin9/28/2023 ![]() ![]() Second, we will add the OmniAuth gem into our Gemfile gem "omniauth", "~> 1.9.1" gem "omniauth-linkedin-oauth2" Note: Remember this is a Yaml file, so you need to respect the indentation, the api_id and api_key are indented one tab to the right. EDITOR='code -wait' rails credentials:edit Let’s start by adding our Authentication keys using Rails Credential built-in feature (I’m using Visual Code). Note: If you want, you can create your own app from scratch and follow the setup for Devise here. Because we want to focus on adding OAuth2 to our application (and there are a billion tutorials on how to create a Rails app with Devise out there), we will be working on an already created Ruby on Rails app with Bootstrap and Devise installed using the amazing template BambooSticks□ : rails new -database postgresql -m linkedin-login ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |