{"id":16314434,"url":"https://github.com/theskumar/oauth-client","last_synced_at":"2025-04-27T09:47:31.680Z","repository":{"id":16252298,"uuid":"19000209","full_name":"theskumar/oauth-client","owner":"theskumar","description":"implementation of oauth client for agiliq jobs app in flask","archived":false,"fork":false,"pushed_at":"2014-05-09T17:36:09.000Z","size":426,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-16T16:36:18.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://join-agiliq.herokuapp.com/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theskumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-21T17:20:38.000Z","updated_at":"2017-01-28T07:59:06.000Z","dependencies_parsed_at":"2022-09-10T15:01:02.183Z","dependency_job_id":null,"html_url":"https://github.com/theskumar/oauth-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Foauth-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Foauth-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Foauth-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Foauth-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theskumar","download_url":"https://codeload.github.com/theskumar/oauth-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250955255,"owners_count":21513494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T21:53:56.923Z","updated_at":"2025-04-26T07:52:37.087Z","avatar_url":"https://github.com/theskumar.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"OAuth Client\n============\n\nWhat is this?\n-------------\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, vitae, praesentium eligendi temporibus in molestias excepturi nesciunt fuga natus laborum minus ab quas corrupti est fugit ipsam maxime facere. Rem.\n\nInstructions\n------------\n\nFirst, you'll need to clone the repo.\n\n    $ git clone git@github.com:theskumar/oauth-client.git\n    $ cd oauth-client\n\nSecond, let's download `pip`, `virtualenv`, `foreman`, and the [`heroku`\nRuby gem](http://devcenter.heroku.com/articles/using-the-cli).\n\n    $ sudo easy_install pip\n    $ sudo pip install virtualenv\n    $ sudo gem install foreman heroku\n\nNow, you can setup an isolated environment with `virtualenv`.\n\n    $ virtualenv --no-site-packages venv\n    $ source venv/bin/activate\n\nThen, let's get the requirements installed in your isolated test\nenvironment.\n\n    $ pip install -r requirements.txt\n\n\nRunning Your Application\n------------------------\n\nNow, you can run the application locally.\n\n    $ foreman start\n\nYou can also specify what port you'd prefer to use.\n\n    $ foreman start -p 5555\n\n\nDeploying\n---------\n\nIf you haven't [signed up for Heroku](https://api.heroku.com/signup), go\nahead and do that. You should then be able to [add your SSH key to\nHeroku](http://devcenter.heroku.com/articles/quickstart), and also\n`heroku login` from the commandline.\n\nNow, to upload your application, you'll first need to do the\nfollowing -- and obviously change `app_name` to the name of your\napplication:\n\n    $ heroku create app_name -s cedar\n\nAnd, then you can push your application up to Heroku.\n\n    $ git push heroku master\n    $ heroku scale web=1\n\nFinally, we can make sure the application is up and running.\n\n    $ heroku ps\n\nSet up some required variables:\n\n    $ heroku config:set SECRET=\u003crandom_secret\u003e\n\nAt join.agiliq.com, register your application and get the `client_id` and `client_secret` and add `\u003cyourdomain\u003e/callback/agiliq` as redirect url. \n\n\n    $ heroku config:set AGILIG_CLIENT_ID=\u003cyour agiliq client id\u003e\n    $ heroku config:set AGILIG_CLIENT_SECRET=\u003cyour agiliq client secret\u003e\n\nNow, we can view the application in our web browser.\n\n    $ heroku open\n\nAnd, to deactivate `virtualenv` (once you've finished coding), you\nsimply run the following command:\n\n    $ deactivate\n\n\nReactivating the Virtual Environment\n------------------------------------\n\nIf you haven't worked with `virtualenv` before, you'll need to\nreactivate the environment everytime you close or reload your terminal.\n\n    $ source env/bin/activate\n\nIf you don't reactivate the environment, then you'll probably receive a\nscreen full of errors when trying to run the application locally.\n\nLicense\n--------\nCopyright 2014 Saurabh Kumar\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Foauth-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheskumar%2Foauth-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Foauth-client/lists"}