react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.19k stars 879 forks source link

Unable to install sponsored version #1245

Closed gunnartorfis closed 7 months ago

gunnartorfis commented 7 months ago

Unable to install sponsored version:

401 Unauthorized - GET https://npm.pkg.github.com/@react-native-google-signin%2fgoogle-signin - unauthenticated: User cannot be authenticated with the token provided.

I sponsored a few hours ago but haven't been able to install the sponsored version from the GitHub registry. I keep getting 401 and have tried both yarn v4 and npm 10.1. For the npm project, I just created a blank npm project and tried to install the package, with the same error.

I have triple-checked the token, and regenerated it, and it has the "read:packages" (only that) - it is a classic token, not fine-grained.

.npmrc:

//npm.pkg.github.com/:_authToken="ghp_xx"
@react-native-google-signin:registry=https://npm.pkg.github.com/
gunnartorfis commented 7 months ago

I've also tried removing the quotes around the token, and then I get: 403 Forbidden, Permission permission_denied: read_package

vonovak commented 7 months ago

Hello @gunnartorfis, Thanks for asking! According to the repo settings, you have a pending invite to the repo. You need to accept it first.

Screenshot 2024-02-13 at 22 51 39

Please let me know if this doesn't help, Thank you for sponsoring! 🙂

gunnartorfis commented 7 months ago

Of course.. 🤦‍♂️ Thanks a lot 🙌

meterler commented 1 month ago

this question happen to me now, I have used this library for month , maybe I should do something to update ? help~~ @vonovak

vonovak commented 1 month ago

@meterler no idea what happened but I sent an invite

meterler commented 1 month ago

it works, thank you~~