{"action":"closed","issue":{"url":"https://api.github.com/repos/github/platform-samples/issues/78","labels_url":"https://api.github.com/repos/github/platform-samples/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/github/platform-samples/issues/78/comments","events_url":"https://api.github.com/repos/github/platform-samples/issues/78/events","html_url":"https://github.com/github/platform-samples/issues/78","id":118253038,"number":78,"title":"Not able to use .env file for basics-of-authentication project","user":{"login":"SuriyaaKudoIsc","id":5073946,"avatar_url":"https://avatars.githubusercontent.com/u/5073946?v=3","gravatar_id":"","url":"https://api.github.com/users/SuriyaaKudoIsc","html_url":"https://github.com/SuriyaaKudoIsc","followers_url":"https://api.github.com/users/SuriyaaKudoIsc/followers","following_url":"https://api.github.com/users/SuriyaaKudoIsc/following{/other_user}","gists_url":"https://api.github.com/users/SuriyaaKudoIsc/gists{/gist_id}","starred_url":"https://api.github.com/users/SuriyaaKudoIsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuriyaaKudoIsc/subscriptions","organizations_url":"https://api.github.com/users/SuriyaaKudoIsc/orgs","repos_url":"https://api.github.com/users/SuriyaaKudoIsc/repos","events_url":"https://api.github.com/users/SuriyaaKudoIsc/events{/privacy}","received_events_url":"https://api.github.com/users/SuriyaaKudoIsc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-22T09:30:58Z","updated_at":"2015-11-23T18:22:45Z","closed_at":"2015-11-23T18:22:44Z","body":"@gjtorikian @nathos @jasonrudolph\r\n\r\nHello guys, :smile: \r\n\r\nI'm a newbie in this project and I'm **not able to use an *.env* file** like:\r\n\r\n    GH_BASIC_CLIENT_ID=1234567890\r\n    GH_BASIC_SECRET_ID=0987654321\r\n\r\nfor the [*basics-of-authentication* project](https://github.com/github/platform-samples/tree/master/api/ruby/basics-of-authentication)!\r\n\r\nAfter using `bundle install` and **`ruby server.rb`** or **`ruby advanced_server.rb`** the link for login in [*`http://localhost:4567/`*](http://localhost:4567/) looks like:\r\n\r\n    https://github.com/login/oauth/authorize?scope=user:email&client_id=\r\n\r\ninstead of\r\n\r\n    https://github.com/login/oauth/authorize?scope=user:email&client_id=12345667890\r\n\r\nI already read the tutorial on [GitHub Developer platform](https://developer.github.com/guides/basics-of-authentication/).\r\n\r\nWhere is the error and what should I do?\r\n\r\n*Yours,*\r\n[**Suriyaa Kudo**](https://github.com/SuriyaaKudoIsc) :octocat: "}}