{"id":13566135,"url":"https://github.com/simov/oauth-like-a-boss","last_synced_at":"2025-06-24T13:36:33.791Z","repository":{"id":66028238,"uuid":"164307052","full_name":"simov/oauth-like-a-boss","owner":"simov","description":"Once And For All","archived":false,"fork":false,"pushed_at":"2020-04-19T06:32:50.000Z","size":5,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T11:04:26.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-06T12:56:20.000Z","updated_at":"2024-06-18T06:55:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca7af02f-b71c-449d-ab81-4bb1aa51a831","html_url":"https://github.com/simov/oauth-like-a-boss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simov/oauth-like-a-boss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Foauth-like-a-boss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Foauth-like-a-boss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Foauth-like-a-boss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Foauth-like-a-boss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/oauth-like-a-boss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Foauth-like-a-boss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261686294,"owners_count":23194263,"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-08-01T13:02:02.901Z","updated_at":"2025-06-24T13:36:33.769Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# OAuth Like a BOSS\n\n\u003e _Once And For All_\n\n### [:rocket: :sparkles: D E V . T O :sparkles: :rocket:][dev.to]\n\n## How\n\n1. Create [OAuth App] on GitHub, and set its _Authorization callback URL_ to `http://localhost:3000/connect/github/callback`\n2. Replace all instances of `APP_ID` and `APP_SECRET` in `grant/config.json` and in `server/app.go` with your actual [OAuth App] credentials\n3. Load the `chrome` folder as _Unpacked Extension_ in Chrome\n4. Execute `cd grant/; npm i; node app.js`\n5. Execute `go run server/app.go`\n\n\n## Login\n\nChapter | Login\n:--- | :---\n_The Usual Stuff_ | Navigate to http://localhost:3000/login, pick a scope and click the Login button\n_Login From Another Host_ | Navigate to https://simov.github.io/oauth-like-a-boss/ and click the Login button\n_Login From Browser Extension_ | Click the extension button to the right of the browser's address bar\n_Login From Another Language_ | Navigate to http://localhost:4000/login\n\n\u003e _In all cases take a look at the console to see the access token_\n\n  [OAuth App]: https://github.com/settings/applications/new\n  [dev.to]: https://dev.to/simov/oauth-like-a-boss-2m3b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Foauth-like-a-boss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Foauth-like-a-boss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Foauth-like-a-boss/lists"}