You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ gem login
Enter your RubyGems.org credentials.
Don't have an account yet? Create one at https://rubygems.org/sign_up
Username/email: andre@arko.net
Password:
API Key name [sabine.local-andre-20240509150710]:
The default access scope is:
index_rubygems: y
Do you want to customise scopes? [yN] y
show_dashboard (exclusive scope, answering yes will not prompt for other scopes) [yN] y
HTTP Basic: Access denied.
Expected outcome: logged in with API key that has show_dashboard scope.
hmmmm at the time I was able to log in using (I thought) the same password but without setting the show_dashboard scope. I just went to reproduce, and now I am getting a totally different error! very confusing 🤔
❯ gem login --verbose
Enter your RubyGems.org credentials.
Don't have an account yet? Create one at https://rubygems.org/sign_up
Username/email: andre@arko.net
Password:
API Key name [sabine.local-andre-20240513132732]:
The default access scope is:
index_rubygems: y
Do you want to customise scopes? [yN]
GET https://rubygems.org/api/v1/profile/me.yaml
200 OK
POST https://rubygems.org/api/v1/api_key
401 Unauthorized
POST https://rubygems.org/api/v1/webauthn_verification
200 OK
You have enabled multi-factor authentication. Please visit https://rubygems.org/webauthn_verification/k6QjKQqyCVmQ5btL?port=56732 to authenticate via security device. If you can't verify using WebAuthn but have OTP enabled, you can re-run the gem signin command with the `--otp [your_code]` option.
GET https://rubygems.org/api/v1/webauthn_verification/k6QjKQqyCVmQ5btL/status.json
401 Unauthorized
ERROR: Security device verification failed: Unauthorized
Command I ran:
Expected outcome: logged in with API key that has
show_dashboard
scope.Actual outcome: not logged in, no API key saved.
Gem env:
The text was updated successfully, but these errors were encountered: