2FA IP Whitelist #1022

Open
opened 2025-11-02 03:45:32 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @pgaskin on GitHub (Aug 30, 2017).

An option to whitelist 2FA for a list of IPs would be useful.

  • This option would be configurable in the configuration file ([server]/ENABLE_2FA_WHITELIST),
  • The whitelisted IPs would expire after they are not used for 15 days (or some other configurable value).
  • The whitelisted IPs would be able to push over HTTPS, and sign in without 2FA verification.
  • The whitelisted IPs would be able to be added and removed from the Two-Factor Authentication tab of the User Settings.
Originally created by @pgaskin on GitHub (Aug 30, 2017). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> An option to whitelist 2FA for a list of IPs would be useful. - This option would be configurable in the configuration file (`[server]`/`ENABLE_2FA_WHITELIST`), - The whitelisted IPs would expire after they are not used for 15 days (or some other configurable value). - The whitelisted IPs would be able to push over HTTPS, and sign in without 2FA verification. - The whitelisted IPs would be able to be added and removed from the Two-Factor Authentication tab of the User Settings.
GiteaMirror added the issue/confirmedtype/feature labels 2025-11-02 03:45:32 -06:00
Author
Owner

@pgaskin commented on GitHub (Aug 30, 2017):

I might work on this myself if I have time.

@pgaskin commented on GitHub (Aug 30, 2017): I might work on this myself if I have time.
Author
Owner

@ghost commented on GitHub (Jan 22, 2019):

@geek1011 Do you still plan on working on this feature?

@ghost commented on GitHub (Jan 22, 2019): @geek1011 Do you still plan on working on this feature?
Author
Owner

@stale[bot] commented on GitHub (Mar 23, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 23, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1022