Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] SmartPhoneLover - 2FAuth

Featured Replies

On 4/7/2023 at 12:29 PM, Squid said:

Is the network type set to "Bridge"?  Anything other than bridge and by definition all port mappings are ignored as port mappings only make sense in bridge mode

It's set to `custom : br0`, so that I can assign an IP and a dns alias.

 

EDIT:

After quick digging, 2fauth just spawns nginx inside the docker container to serve the files and the nginx config does not repect the env var.

 

Nginx config found at a couple of places, but `/etc/nginx/nginx.conf` seems to be the one the container uses. So I just mounted my own config there with the port I want and problem fixed.

 

Bit hacky, but does the job until it gets fixed upstream.

Edited by MBacx
Found more infromation

On 4/9/2023 at 11:36 AM, MBacx said:

It's set to `custom : br0`, so that I can assign an IP and a dns alias.

 

EDIT:

After quick digging, 2fauth just spawns nginx inside the docker container to serve the files and the nginx config does not repect the env var.

 

Nginx config found at a couple of places, but `/etc/nginx/nginx.conf` seems to be the one the container uses. So I just mounted my own config there with the port I want and problem fixed.

 

Bit hacky, but does the job until it gets fixed upstream.

 

Do you have SSL / HTTPS up and running? I cant get it working :( I also used a custome network bridged interface.

 

Error: Fehlercode: SSL_ERROR_RX_RECORD_TOO_LONG

Edited by Bollo157
Added info

After latest Update Having Php error:

image not customized by env  build arguments ...

 

image.thumb.png.221f9bad4ec4fa77af2aa6ffdcbb726a.png

17 hours ago, Masterwishx said:

After latest Update Having Php error:

image not customized by env  build arguments ...

 

image.thumb.png.221f9bad4ec4fa77af2aa6ffdcbb726a.png

same requires higher version of PHP to run

On 4/15/2023 at 7:11 PM, nktm85 said:

same requires higher version of PHP to run

 

Opened issue on github and author has fixed in v4.01

I am currently running the latest version 4.0.2, using my docker bridged network. I am struggling to get HTTPS to work is there a method to do this?

  • 4 months later...
27 minutes ago, timmyx said:

I noticed this too and that 2FAuth is no longer available in the CA o.O

Also other containers of user

Yes.... weird enough.
But my 2fauth is still working, it's just the icon missing

Nothing weird about it. The Repo doesnt exist anymore. 

 

On 9/17/2023 at 8:26 PM, Squid said:

That entire GitHub repository was deleted by the maintainer / author, so what you're seeing is correct and to be expected (and also why the apps are no longer within Apps).  Use a different URL.

 

  • 2 months later...

I just found about this App last night and was all excited to install it today. However, it seems that this is no longer available. Is there a way I can install it as it seems to be exactly what I am looking for.

  • 2 months later...

For anyone who updated and can no longer access the webui just change the release to 2fauth/2fauth:5.0.2

  • 1 month later...
On 2/24/2024 at 6:42 PM, wkipling said:

For anyone who updated and can no longer access the webui just change the release to 2fauth/2fauth:5.0.2

This app does not work for me anymore.  I tried changing the release, but still get a blank page

  • 3 months later...

For anyone whose 2fauth app just loads a blank screen and SSL (via reverse proxy) not working correctly, I was able to fix by added two variables to the container:

 

ASSET_URL: use your reverse proxy domain

TRUSTED_PROXIES: with value * (I think because the app is loading assets from outside domain, you have to set this otherwise the SSL certificate will fail)

 

This is on UNRAID: v6.12.4

2FAuth – v5.2.0

Reverse Proxy Docker: Swag

Screenshot 2024-07-30 162324.png

  • 5 months later...
On 7/31/2024 at 12:31 AM, nktm85 said:

For anyone whose 2fauth app just loads a blank screen and SSL (via reverse proxy) not working correctly, I was able to fix by added two variables to the container:

 

ASSET_URL: use your reverse proxy domain

TRUSTED_PROXIES: with value * (I think because the app is loading assets from outside domain, you have to set this otherwise the SSL certificate will fail)

 

This is on UNRAID: v6.12.4

2FAuth – v5.2.0

Reverse Proxy Docker: Swag

Screenshot 2024-07-30 162324.png

I just wanted to thank you, because I really needed this! It worked perfectly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.