Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Allow user to select GitHub account #922

Merged
merged 5 commits into from
Jul 9, 2024

Conversation

PixelBedrock
Copy link
Contributor

A simple change to the auth system that lets you pick your GitHub account following this change: https://github.blog/changelog/2024-06-07-account-picker-updates-for-oauth-and-github-app-sign-in/

To force the account picker, append the following alongside your client ID and redirect URI parameters when you send the user to GitHub to sign in: &prompt=select_account.

While the user is still shown the prompt if they have multiple accounts, it allows users that don't have multiple accounts signed in to quickly add a different GitHub account and sign into Modrinth with that account instead.

@Geometrically Geometrically added this pull request to the merge queue Jul 9, 2024
@Geometrically Geometrically removed this pull request from the merge queue due to a manual request Jul 9, 2024
@Geometrically Geometrically merged commit 60edbcd into modrinth:master Jul 9, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants