When installing a private component via a URL with an access token from forgejo it results in a 500 error and one has to switch to using git over ssh and add a key for the repo.
github private access tokens work without a problem so I presume it has to do with the difference in style of access tokens with forgejo.
Example URL:
https://c273946b54a2527ac1b12640536a42d65d0b24f4@forgejo.site.org/dubwoc/custom-component
Error: