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

Add 2fa to Invidious in the form of TOTP #2254

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

syeopite
Copy link
Member

@syeopite syeopite commented Jul 15, 2021

Closes #418

The only problem with this PR currently is that users would have to manually enter the base32 secret since we don't have a way to construct QR codes without adding another dependency to Invidious.

I've also went ahead and moved some of the account related views to their own folder.

This shouldn't be merged until #1678 due to the requirement of a migration script.

locales/en-US.json Outdated Show resolved Hide resolved
src/invidious.cr Outdated Show resolved Hide resolved
@syeopite syeopite added the blocked require something else first label Jul 27, 2021
@SamantazFox SamantazFox added this to Planned in Todo - Invidious Sep 2, 2021
@syeopite syeopite removed the blocked require something else first label Oct 3, 2021
@syeopite
Copy link
Member Author

Requires automatic migration system

@github-actions
Copy link

This pull request has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely abandoned or outdated. If you think this pull request is still relevant and applicable, you just have to post a comment and it will be unmarked.

@github-actions github-actions bot added the stale label Nov 26, 2021
@SamantazFox SamantazFox added blocked require something else first and removed stale labels Nov 26, 2021
@syeopite syeopite requested a review from a team as a code owner May 2, 2022 18:50
@syeopite syeopite requested review from SamantazFox and removed request for a team May 2, 2022 18:50
@syeopite
Copy link
Member Author

Rebased. I believe the PR is still being blocked by a lack of an automatic migration system. Though it should work if you manually run ./invidious --migrate now that we have #2878

@syeopite
Copy link
Member Author

On another note, purely for readability and consistency reasons, I feel like most of the methods added here should be renamed and properly documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked require something else first
Projects
Development

Successfully merging this pull request may close these issues.

Add support for 2FA (OTP, U2F)
2 participants