Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard RSS feed is accidentally password protected now #3816

Open
svoop opened this issue May 22, 2023 · 4 comments
Open

Dashboard RSS feed is accidentally password protected now #3816

svoop opened this issue May 22, 2023 · 4 comments

Comments

@svoop
Copy link

svoop commented May 22, 2023

After logging on to rubygems.org, you land on the Dashboard where a very handy RSS icon leads to the personal RSS feed to be updated whenever a susbscribed gem is updated. The RSS feed URL contains a UUID and therefore is safe as is.

Recently, however, the RSS feed URL slipped behind the password protection which doesn't play nice with feed readers. Could you please lift this most likely accidental restriction?

Thanks a bunch!

@svoop svoop added the bug label May 22, 2023
@svoop
Copy link
Author

svoop commented May 23, 2023

On second look: The feed is in the protected part of rubygems.org because it needs access to the subscriptions. However, the RSS link on the dashboard contains an aip_key and which apparently is not accepted anymore. It has a different format (shorter, no prefix) than the regular API keys.

@svoop
Copy link
Author

svoop commented May 23, 2023

Figured out how to get the feed URL working:

  1. Create a new API key and give it "show dashboard" scope
  2. Append the new API key to this URL: https://rubygems.org/dashboard.atom?api_key=

It's a workaround, the RSS link when you click ...

image

... on your dashboard (or at least on my dashboard) contains a differently formatted and invalid API key. No idea where it comes from.

@simi
Copy link
Member

simi commented Jul 26, 2023

Hello @svoop and thanks for the info. You're right, the api_key appended to the dashboard is something called "legacy key" and doesn't work everytime for all users. The recommended way is exactly as you found out, create new api key with "show dashboard" scope and use it in URL.

Any suggestion UI wise to make user aware of this? We should make it clear you need to create API key with "show dashboard". Maybe some kind of modal with selector of which api key to use or warning message URL can't be generated with no API key with given scope present?

@jenshenny any idea,

@jenshenny
Copy link
Member

Maybe some kind of modal with selector of which api key to use

I don't think we can retrieve the original api key value after its been generated.

or warning message URL can't be generated with no API key with given scope present?

that can be a good solution

Perhaps we can have the button create an API key with just the show_dashboard scope and generate a link with the new key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants