{"id":66684,"date":"2024-10-28T18:40:37","date_gmt":"2024-10-28T17:40:37","guid":{"rendered":"https:\/\/ekiwi-blog.de\/66684\/github-no-access-with-password-on-the-console\/"},"modified":"2024-10-28T18:40:37","modified_gmt":"2024-10-28T17:40:37","slug":"github-no-access-with-password-on-the-console","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/66684\/github-no-access-with-password-on-the-console\/","title":{"rendered":"Github: No access with password on the console"},"content":{"rendered":"<p>No access to GitHub via the console.<\/p>\n<p><!--more--><\/p>\n<p>GitHub has disabled access via username and password for some time now.<\/p>\n<p>When trying to clone a repository, only an error message appears.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_1.png\" alt=\"\" width=\"862\" height=\"269\" class=\"aligncenter size-full wp-image-66660\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_1.png 862w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_1-300x94.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_1-768x240.png 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>\n<pre>\r\nCloning into 'OrderFormPrototype'...\r\nUsername for 'https:\/\/github.com': andydunkel\r\nPassword for 'https:\/\/andydunkel@github.com':\r\nremote: Support for password authentication was removed on August 13, 2021.\r\nremote: Please see https:\/\/docs.github.com\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\r\n<\/pre>\n<p>API tokens can now be generated for HTTPS access. This is also described in the GitHub help, but somehow not so well described. Therefore here again with colourful pictures.<\/p>\n<p>We go to &#8220;Developer settings&#8221; in the settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_2.png\" alt=\"\" width=\"393\" height=\"272\" class=\"aligncenter size-full wp-image-66664\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_2.png 393w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_2-300x208.png 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/p>\n<p>Here we now find the sub-item &#8220;Personal access tokens&#8221;. We can now generate a new token here. We use a classic token at this point.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_3.png\" alt=\"\" width=\"728\" height=\"533\" class=\"aligncenter size-full wp-image-66668\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_3.png 728w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_3-300x220.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>We enter names and the rights. We can set the expiry date or not. For normal access, the checkbox next to &#8220;repo&#8221; is sufficient.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_4.png\" alt=\"\" width=\"730\" height=\"524\" class=\"aligncenter size-full wp-image-66672\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_4.png 730w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_4-300x215.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_4-350x250.png 350w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_4-420x300.png 420w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>We can then use the token; we now enter the token instead of the password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_5.png\" alt=\"\" width=\"651\" height=\"203\" class=\"aligncenter size-full wp-image-66676\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_5.png 651w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/10\/github_5-300x94.png 300w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>No access to GitHub via the console.<\/p>\n","protected":false},"author":1,"featured_media":66680,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682,1558],"class_list":["post-66684","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=66684"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66684\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/66680"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=66684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=66684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=66684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}