Skip to content

Conversation

@CristianAndrei1423
Copy link
Collaborator

@CristianAndrei1423 CristianAndrei1423 commented Dec 12, 2025

Title

Added 2fa as an option for issue #228 .

Description

Included the parameter --init-2fa which allows the user to bind the file system to a specific email using OAuth Google Client.

Fixes # (issue)


Type of change

  • [New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my code
  • I have tested my code on different platforms (if applicable)
  • I have commented my code, particularly in hard-to-understand areas
  • I have added necessary documentation (if appropriate)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Screenshots (if applicable)

Add screenshots to illustrate changes if necessary.


Additional Context

For this feature to work you first need the environment variables GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET set up; for testing you could go to console.cloud.google.com and make OAuth consent screen of type desktop. The user is prompted to consent and authenticate using Google consent screen. If the files are made with 2fa, then further use requires google authentication.

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