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

Feat: Support Google Authentication #181

Merged
merged 21 commits into from
Aug 11, 2024
Merged

Feat: Support Google Authentication #181

merged 21 commits into from
Aug 11, 2024

Conversation

timotheeg
Copy link
Owner

Decouple NestrisChamps from Twitch identities and Support google Auth as a secondary means of logging into nestrischamps.

⚠️⚠️⚠️⚠️ This is a massive change in authentication and requires a lot of data transformation ⚠️⚠️⚠️⚠️

Has been tested locally well, but might still cause trouble, a backup of the database has been taken

Note: Twitch IDs no longer guaranteed to be available in NestrisChamps

Since NTC used to just blindly trust whatever Twitch provided, twitch ids (e.g. yobi9) were guaranteed by Twitch to be unique. Now that other parties can provide identities, users need to be able to provide / modify their ids, and Nestrischamps needs to manage the uniqueness itself. In particular, that means that someone registering with google could "chope" the twitch id of a twitch userd who has not yet registered into Twitch

Unrelated bonus, the PR upgrades bulma, and so the main pages now support dark mode.

@timotheeg timotheeg merged commit 2f29698 into main Aug 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant