Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8216965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:18:58+00:00 2026-06-07T12:18:58+00:00

https://github.com/ryanatwork/sign-in-with-linkedin This example rails application that lets a user log in with LinkedIn requires

  • 0

https://github.com/ryanatwork/sign-in-with-linkedin

This example rails application that lets a user log in with LinkedIn requires that the “rails server” command in the terminal be prefaced by ‘CONSUMER_KEY=[consumer key] CONSUMER_SECRET=[consumer secret]’ so that the whole command looks like:

CONSUMER_KEY=[consumer key] CONSUMER_SECRET=[consumer secret] rails server

The linkedin login obviously won’t work with a consumer key/secret, but I’m having trouble hardcoding my consumer key/secret into the app so that I can deploy to Heroku successfully, but am not having any luck. I’ve tried in several different config and controller files without any luck. Help appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:18:59+00:00Added an answer on June 7, 2026 at 12:18 pm

    When you deploy to Heroku you need to have these variables set using the heroku config command:

    heroku config:add CONSUMER_KEY=[consumer key]
    

    If you use Foreman to start your server (as Heroku does at their end) then you can have these variables loaded from a local file which never gets committed into your source control (you don’t want these secret details in your source control)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this https://github.com/remy/html5demos/blob/master/demos/geo.html plug in. If a user has blocked to share his
After following: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I can sign up a user via Facebook. But I'm struggling
while running this example https://github.com/JakSprats/node_Redisql/blob/master/examples/redisql_examples.js gives me this error , ~/rahul$ node redissql.js node.js:178
In this rails app: https://github.com/ryanb/govsgo/blob/master/app/views/authentications/index.html.erb There is a form that as 'new_user_path' Where is
I've installed https://github.com/lleger/Rails-3-jQuery and it worked fine, however, the rails helpers that I was
I created this repo: https://github.com/meltzerj/Dreamstill that appears on my profile but not on the
This ( https://github.com/radar/forem ) is the code for the Rails 3 forum engine, but
https://github.com/ono/resque-cleaner this documentation explains how to use the methods in console. what if i
If I use Moonshine (https://github.com/brandonc/moonshine) on non-English characters - for example if I run
I followed this tutorial: https://github.com/EllisLab/CodeIgniter/wiki/PDF-generation-using-dompdf However, I can't seem to set the path right.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.