Skip to content

Commit

Permalink
Merge pull request #22 from lipka/patch-1
Browse files Browse the repository at this point in the history
Parametrize client identifier
  • Loading branch information
rubda committed Oct 26, 2018
2 parents 090387b + c67e563 commit 9e48098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function getData(accessToken) {
async function getAccessToken(code) {
const body = {
code: code,
client_id: '6745522a5cb6472587174d0b22ad2905',
client_id: process.env.CLIENT_ID || '6745522a5cb6472587174d0b22ad2905', // Your OAuth client identifier.
client_secret: process.env.CLIENT_SECRET, // Your OAuth client secret. Always handle the secret with care.
grant_type: 'authorization_code',
};
Expand Down

0 comments on commit 9e48098

Please sign in to comment.