Link to GitHub via `id` instead of `login`

If I have an application that knows a user’s internal github id number, is there any way to link to a GitHub webpage that will do a 302 redirect to their actual profile page? I was hoping to generate a stable URL, because while GitHub usernames can change, GitHub identifiers never do. Currently, my only option is to contact the GitHub API, and get the user’s profile URL from their id.

Namely, instead of linking to something like this:

It would be great if I could link to something like this:

Which would redirect to

Thanks so much!

Ping on this.  :slight_smile:

Personally I wish, at a minimum, ID-based search would work in the GitHub UI…

I’d love to be able to link people to a search results view like this, for example, where userid == a user ID: