# Github fine-grained personal access tokens and node-red projects

**URL:** <https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207>\
**Category:** General\
**Created:** [24 November 2022 19:25 UTC](https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207 "2022-11-24T19:25:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinGodell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kevingodell/32/27040_2.png) [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Post date:** [24 November 2022 19:25 UTC](https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207/1 "2022-11-24T19:25:56Z")

</div>

I just noticed a new beta feature on github for creating fine-grained personal access tokens and ran a few tests to see if it would work with node-red projects. It does, but...

on [https://github.com/](https://github.com/), it is found at settings -\> developer settings -\> personal access tokens -\> fine-grained tokens

 ![Screen Shot 2022-11-24 at 1.24.21 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/80b345cee516a69f60a3807f99b6d1487aaa6d34.png)

I suppose it is for limiting access to specific repos, unlike the other tokens.

I was able to make a token for 1 specific repo with limited access that was just enough for pushing updates from a node-red project by selecting the repo and changing this single setting to read and write.

 ![Screen Shot 2022-11-24 at 12.30.42 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c9a6b161c9be335b2847f2510c57790e0b494dde.png)

The difference for using it is a little bit goofy. in the little popup window for authenticating when pushing changes from the node-red project, the original personal access tokens could be entered in the username box or enter a dummy user name and enter the token in the password box.

The new token type can only be used in the password box and you have to populate the username with something.

 ![Screen Shot 2022-11-24 at 1.11.38 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/7/871d928bb5e73a897075eaddc4636fe621a2d0fd.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 January 2023 19:26 UTC](https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207/2 "2023-01-23T19:26:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
