[{"data":1,"prerenderedAt":217},["ShallowReactive",2],{"project-36148217":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":32,"aspects":33,"strip":39,"post_text":42,"what":43,"said":70,"maker_in_thread":123,"shape":130,"grid":135,"attempts":180,"same_week":181,"maker_shows":30,"maker_hidden":209,"reader_version":210,"card":211},"36148217","git-credential-oauth","Git credential helper using OAuth in browser","title","Show HN: Git credential helper using OAuth in browser","https:\u002F\u002Fgithub.com\u002Fhickford\u002Fgit-credential-oauth","github.com","mattme",1685601911,2023,73,18,839,3109,27,"notable","dev_tools","git credential helper","cli",[21,24,25,26],"oauth git authentication","personal access token alternative","git https auth","debated",-0.133,{"positive":30,"neutral":30,"mixed":31,"critical":30},2,0,6,{"idea":34,"privacy":36,"execution":37,"docs":38},{"positive":35,"critical":35},1,{"positive":31,"critical":35},{"positive":35,"critical":31},{"positive":31,"critical":31},[35,31,31,35,40,31,31,41,31,41,31,31,40,31,31,31,31,31],3,5,"I authenticate to many Git hosts from many machines and got tired of generating and copying personal access tokens. With credential helper git-credential-oauth, there are no personal access tokens or SSH keys to configure. Instead you authenticate in browser using OAuth.\n\nGit Credential Manager (included with Git for Windows) has a similar feature but it's awkward for Linux users to install. git-credential-oauth is cross platform and packaged in many Linux distributions.",{"problem":44,"audience":50,"pricing":55,"motivation":56,"time_to_build":55,"stack":60,"openness":67,"stage":68,"team_size":69},{"value":45,"source":46,"evidence":47},"Generating and copying personal access tokens for many Git hosts","maker",[48],{"id":49},"post",{"value":51,"source":52,"evidence":53},"Developers authenticating to many Git hosts from many machines, especially Linux users","inferred",[54],{"id":49},null,{"value":57,"source":46,"evidence":58},"Tired of generating and copying personal access tokens across many Git hosts and machines",[59],{"id":49},[61],{"value":62,"source":52,"evidence":63},"Go",[64],{"id":65,"by":11,"text":66},"36148764",".NET applications are technically challenging for Linux distributions to package because of the runtime dependency. https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fsource-build\u002Fdiscussions\u002F2960 . Git…","open_source","launched","unknown",{"praise":71,"objections":84,"requests":92,"questions":100,"alternatives":111},[72,80],{"value":73,"source":74,"evidence":75},"Easy setup; worked with Bitbucket HTTPS on first try","commenter",[76],{"id":77,"by":78,"text":79},"36150499","0xbadcafebee","This is amazing!!! Downloaded the Darwin arm64 release, extracted it, installed to \u002Fusr\u002Flocal\u002Fbin, followed the setup instructions, cloned a Bitbucket HTTPS repo, it opened my…",{"value":81,"source":46,"evidence":82},"Lighter than Git Credential Manager (5 MB vs 80 MB)",[83],{"id":65,"by":11,"text":66},[85],{"value":86,"source":74,"evidence":87},"Hardcoded client secret in source is a privacy concern",[88],{"id":89,"by":90,"text":91},"36150979","sluongng","Not quite sure how I feel about all the ClientSecret being hardcoded https:\u002F\u002Fgithub.com\u002Fhickford\u002Fgit-credential-oauth\u002Fblob\u002F62635f306e7e0bd880e93a77bdfae56aee895c3a\u002Fmain.go#L44 Is…",[93],{"value":94,"source":74,"evidence":95},"Package in Homebrew",[96,97],{"id":77,"by":78,"text":79},{"id":98,"by":11,"text":99},"36157252","Thanks! Homebrew formula in review https:\u002F\u002Fgithub.com\u002FHomebrew\u002Fhomebrew-core\u002Fpull\u002F132580",[101],{"value":102,"source":74,"evidence":103},"Whether git runs arbitrary binaries in PATH and whether this is documented",[104,108],{"id":105,"by":106,"text":107},"36150602","e12e","> Download binary (...) Then test that Git can find the application: > git credential-oauth > If you have problems, make sure that the binary is located in the path and is…",{"id":109,"by":106,"text":110},"36158646","Thank you. This behavior isn't documented in the man pages as far as I can tell?",[112],{"value":113,"source":74,"evidence":114},"Git Credential Manager",[115,119],{"id":116,"by":117,"text":118},"36154942","cglong","GCM (which I guess inspired this) is already available via Homebrew https:\u002F\u002Fgithub.com\u002Fgit-ecosystem\u002Fgit-credential-manager\u002Fblob\u002Frelease\u002Fdocs\u002Finstall.md#homebrew-star",{"id":120,"by":121,"text":122},"36148522","pharmakom","Why is GCM hard to install on Linux? .NET can cross compile a self contained, single file binary for Linux, much like Go can.",{"comments":40,"answered":30,"key":124},[125,126,129],{"id":65,"text":66},{"id":127,"text":128},"36157215","This is expected. The OAuth spec defines two client types -- confidential clients (eg. web apps) \"capable of maintaining the confidentiality of their credentials\" and public…",{"id":98,"text":99},{"commenters":131,"max_depth":132,"maker_replies":40,"first_comment_mins":133,"lifespan_hours":134},11,4,62,147,[136,138,142,144,146,150,154,155,157,159,162,165,166,168,172,173,175,178],[120,31,35,137,121,31],"project\u002Fcritical\u002Fidea",[139,31,31,140,141,31],"36148629","other\u002Fneutral\u002Fnone","milliams",[65,31,31,143,11,35],"project\u002Fneutral\u002Fperformance",[89,35,35,145,90,31],"project\u002Fcritical\u002Fprivacy",[147,35,40,148,149,31],"36151251","project\u002Fneutral\u002Fprivacy","mathstuf",[151,35,31,152,153,31],"36156488","other\u002Fneutral\u002Fprivacy","jsmith45",[127,35,31,148,11,35],[77,30,41,156,78,31],"project\u002Fpositive\u002Fexecution",[116,30,31,158,117,31],"other\u002Fneutral\u002Fidea",[160,30,41,161,78,31],"36158133","project\u002Fpositive\u002Fidea",[163,30,31,164,117,31],"36158705","commenter\u002Fneutral\u002Fnone",[98,30,31,156,11,35],[105,40,40,167,106,31],"project\u002Fneutral\u002Fdocs",[169,40,31,170,171,31],"36152396","other\u002Fneutral\u002Fdocs","kroolik",[109,40,31,170,106,31],[174,40,31,170,171,31],"36167489",[176,40,31,170,177,31],"36224723","rjh29",[179,40,31,164,78,31],"36154773",[],[182,187,191,196,200,205],{"id":183,"name":184,"points":185,"category":186},"36186185","IPFS",704,"data",{"id":188,"name":189,"points":190,"category":20},"36148807","I made CSS Pro",505,{"id":192,"name":193,"points":194,"category":195},"36154705","HN Resume to Jobs",214,"productivity",{"id":197,"name":198,"points":199,"category":20},"36164503","Mercury",131,{"id":201,"name":202,"points":203,"category":204},"36151225","StonksGPT",116,"finance_crypto",{"id":206,"name":207,"points":208,"category":186},"36214393","Arroyo",115,false,"v2",{"id":212,"name":5,"line":6,"ai":209,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":213,"top":18,"kw":214,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":215,"url":9,"mix":216,"praise":73,"objection":86,"sub":21},36148217,-0.13,[21,24,25,26],"100130050500300000",[30,30,31,30],1793991066751]